You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by al...@apache.org on 2026/04/03 11:14:12 UTC

(camel-quarkus-examples) 01/02: data-extract: upgrade ollama to version 0.19.0

This is an automated email from the ASF dual-hosted git repository.

aldettinger pushed a commit to branch camel-quarkus-main
in repository https://gitbox.apache.org/repos/asf/camel-quarkus-examples.git

commit 27a422db66d3868b7ccd767b8664c35bb86d2c06
Author: aldettinger <al...@gmail.com>
AuthorDate: Thu Apr 2 10:08:38 2026 +0200

    data-extract: upgrade ollama to version 0.19.0
---
 data-extract-langchain4j/README.adoc                              | 2 +-
 ...a7.json => api_chat-352961ad-e58d-4aa3-bd02-98f1da9b5b2d.json} | 8 ++++----
 ...69.json => api_chat-911e18f4-d2c2-4697-b795-8f4a5bf0f9b7.json} | 8 ++++----
 ...4b.json => api_chat-ca667f9d-7d74-40e9-b55f-39ed24737b42.json} | 8 ++++----
 4 files changed, 13 insertions(+), 13 deletions(-)

diff --git a/data-extract-langchain4j/README.adoc b/data-extract-langchain4j/README.adoc
index c882190a..ca4bef1c 100644
--- a/data-extract-langchain4j/README.adoc
+++ b/data-extract-langchain4j/README.adoc
@@ -24,7 +24,7 @@ Let's start a container to serve the LLM with Ollama, in a first shell type:
 
 [source,shell]
 ----
-docker run --rm -it -v cqex-data-extract-ollama:/root/.ollama -p 11434:11434 --name cqex-data-extract-ollama ollama/ollama:0.17.7
+docker run --rm -it -v cqex-data-extract-ollama:/root/.ollama -p 11434:11434 --name cqex-data-extract-ollama ollama/ollama:0.19.0
 ----
 
 After a moment, a log like below should be output:
diff --git a/data-extract-langchain4j/src/test/resources/mappings/api_chat-18cda03a-bbe5-48d0-a35b-262b36c541a7.json b/data-extract-langchain4j/src/test/resources/mappings/api_chat-352961ad-e58d-4aa3-bd02-98f1da9b5b2d.json
similarity index 87%
rename from data-extract-langchain4j/src/test/resources/mappings/api_chat-18cda03a-bbe5-48d0-a35b-262b36c541a7.json
rename to data-extract-langchain4j/src/test/resources/mappings/api_chat-352961ad-e58d-4aa3-bd02-98f1da9b5b2d.json
index 2e325121..bed9253d 100644
--- a/data-extract-langchain4j/src/test/resources/mappings/api_chat-18cda03a-bbe5-48d0-a35b-262b36c541a7.json
+++ b/data-extract-langchain4j/src/test/resources/mappings/api_chat-352961ad-e58d-4aa3-bd02-98f1da9b5b2d.json
@@ -1,5 +1,5 @@
 {
-  "id" : "18cda03a-bbe5-48d0-a35b-262b36c541a7",
+  "id" : "352961ad-e58d-4aa3-bd02-98f1da9b5b2d",
   "name" : "api_chat",
   "request" : {
     "url" : "/api/chat",
@@ -12,13 +12,13 @@
   },
   "response" : {
     "status" : 200,
-    "body" : "{\"model\":\"granite4:3b-h\",\"created_at\":\"2026-01-20T14:46:58.833215508Z\",\"message\":{\"role\":\"assistant\",\"content\":\"{\\n  \\\"customerSatisfied\\\": true,\\n  \\\"customerName\\\": \\\"Sarah London\\\",\\n  \\\"customerBirthday\\\": {\\n    \\\"year\\\": 1986,\\n    \\\"month\\\": 7,\\n    \\\"day\\\": 10\\n  },\\n  \\\"summary\\\": \\\"The customer, Sarah London, needed to declare an accident on her main vehicle and was informed that all expenses linked to the [...]
+    "body" : "{\"model\":\"granite4:3b-h\",\"created_at\":\"2026-04-02T07:49:56.668088405Z\",\"message\":{\"role\":\"assistant\",\"content\":\"{\\n  \\\"customerSatisfied\\\": true,\\n  \\\"customerName\\\": \\\"Sarah London\\\",\\n  \\\"customerBirthday\\\": {\\n    \\\"year\\\": 1986,\\n    \\\"month\\\": 7,\\n    \\\"day\\\": 10\\n  },\\n  \\\"summary\\\": \\\"The customer, Sarah London, needed to declare an accident on her main vehicle and was informed that all expenses linked to the [...]
     "headers" : {
-      "Date" : "Tue, 20 Jan 2026 14:46:58 GMT",
+      "Date" : "Thu, 02 Apr 2026 07:49:56 GMT",
       "Content-Type" : "application/json; charset=utf-8"
     }
   },
-  "uuid" : "18cda03a-bbe5-48d0-a35b-262b36c541a7",
+  "uuid" : "352961ad-e58d-4aa3-bd02-98f1da9b5b2d",
   "persistent" : true,
   "insertionIndex" : 6
 }
\ No newline at end of file
diff --git a/data-extract-langchain4j/src/test/resources/mappings/api_chat-ae3edfa4-a510-4121-9eb2-6051c3072e69.json b/data-extract-langchain4j/src/test/resources/mappings/api_chat-911e18f4-d2c2-4697-b795-8f4a5bf0f9b7.json
similarity index 81%
rename from data-extract-langchain4j/src/test/resources/mappings/api_chat-ae3edfa4-a510-4121-9eb2-6051c3072e69.json
rename to data-extract-langchain4j/src/test/resources/mappings/api_chat-911e18f4-d2c2-4697-b795-8f4a5bf0f9b7.json
index 4a9422da..c81e97dd 100644
--- a/data-extract-langchain4j/src/test/resources/mappings/api_chat-ae3edfa4-a510-4121-9eb2-6051c3072e69.json
+++ b/data-extract-langchain4j/src/test/resources/mappings/api_chat-911e18f4-d2c2-4697-b795-8f4a5bf0f9b7.json
@@ -1,5 +1,5 @@
 {
-  "id" : "ae3edfa4-a510-4121-9eb2-6051c3072e69",
+  "id" : "911e18f4-d2c2-4697-b795-8f4a5bf0f9b7",
   "name" : "api_chat",
   "request" : {
     "url" : "/api/chat",
@@ -12,13 +12,13 @@
   },
   "response" : {
     "status" : 200,
-    "body" : "{\"model\":\"granite4:3b-h\",\"created_at\":\"2026-01-20T14:47:27.992920518Z\",\"message\":{\"role\":\"assistant\",\"content\":\"{\\n  \\\"customerSatisfied\\\": true,\\n  \\\"customerName\\\": \\\"Kate Boss\\\",\\n  \\\"customerBirthday\\\": {\\n    \\\"year\\\": 1999,\\n    \\\"month\\\": 8,\\n    \\\"day\\\": 13\\n  },\\n  \\\"summary\\\": \\\"The customer, Kate Boss, had an accident and needed proof of insurance from the police station. The operator helped by verifying  [...]
+    "body" : "{\"model\":\"granite4:3b-h\",\"created_at\":\"2026-04-02T07:50:24.668969617Z\",\"message\":{\"role\":\"assistant\",\"content\":\"{\\n  \\\"customerSatisfied\\\": true,\\n  \\\"customerName\\\": \\\"Kate Boss\\\",\\n  \\\"customerBirthday\\\": {\\n    \\\"year\\\": 1999,\\n    \\\"month\\\": 8,\\n    \\\"day\\\": 13\\n  },\\n  \\\"summary\\\": \\\"Kate Boss contacted the operator to provide proof of insurance for an accident she was involved in at a police station. The opera [...]
     "headers" : {
-      "Date" : "Tue, 20 Jan 2026 14:47:27 GMT",
+      "Date" : "Thu, 02 Apr 2026 07:50:24 GMT",
       "Content-Type" : "application/json; charset=utf-8"
     }
   },
-  "uuid" : "ae3edfa4-a510-4121-9eb2-6051c3072e69",
+  "uuid" : "911e18f4-d2c2-4697-b795-8f4a5bf0f9b7",
   "persistent" : true,
   "insertionIndex" : 4
 }
\ No newline at end of file
diff --git a/data-extract-langchain4j/src/test/resources/mappings/api_chat-d0af43a7-81b5-49cd-8624-a4c222c5eb4b.json b/data-extract-langchain4j/src/test/resources/mappings/api_chat-ca667f9d-7d74-40e9-b55f-39ed24737b42.json
similarity index 79%
rename from data-extract-langchain4j/src/test/resources/mappings/api_chat-d0af43a7-81b5-49cd-8624-a4c222c5eb4b.json
rename to data-extract-langchain4j/src/test/resources/mappings/api_chat-ca667f9d-7d74-40e9-b55f-39ed24737b42.json
index fdb405c8..10d90a27 100644
--- a/data-extract-langchain4j/src/test/resources/mappings/api_chat-d0af43a7-81b5-49cd-8624-a4c222c5eb4b.json
+++ b/data-extract-langchain4j/src/test/resources/mappings/api_chat-ca667f9d-7d74-40e9-b55f-39ed24737b42.json
@@ -1,5 +1,5 @@
 {
-  "id" : "d0af43a7-81b5-49cd-8624-a4c222c5eb4b",
+  "id" : "ca667f9d-7d74-40e9-b55f-39ed24737b42",
   "name" : "api_chat",
   "request" : {
     "url" : "/api/chat",
@@ -12,13 +12,13 @@
   },
   "response" : {
     "status" : 200,
-    "body" : "{\"model\":\"granite4:3b-h\",\"created_at\":\"2026-01-20T14:47:13.730091697Z\",\"message\":{\"role\":\"assistant\",\"content\":\"{\\n  \\\"customerSatisfied\\\": false,\\n  \\\"customerName\\\": \\\"John Doe\\\",\\n  \\\"customerBirthday\\\": {\\n    \\\"year\\\": 2001,\\n    \\\"month\\\": 11,\\n    \\\"day\\\": 1\\n  },\\n  \\\"summary\\\": \\\"The customer, John Doe, is dissatisfied as his insurance company did not notify him about the cancellation of full reimbursement  [...]
+    "body" : "{\"model\":\"granite4:3b-h\",\"created_at\":\"2026-04-02T07:50:10.398278523Z\",\"message\":{\"role\":\"assistant\",\"content\":\"{\\n  \\\"customerSatisfied\\\": false,\\n  \\\"customerName\\\": \\\"John Doe\\\",\\n  \\\"customerBirthday\\\": {\\\"year\\\": 2001, \\\"month\\\": 11, \\\"day\\\": 1},\\n  \\\"summary\\\": \\\"John Doe, the customer, is dissatisfied with the insurance company as the full reimbursement option was cancelled automatically by their system and he wa [...]
     "headers" : {
-      "Date" : "Tue, 20 Jan 2026 14:47:13 GMT",
+      "Date" : "Thu, 02 Apr 2026 07:50:10 GMT",
       "Content-Type" : "application/json; charset=utf-8"
     }
   },
-  "uuid" : "d0af43a7-81b5-49cd-8624-a4c222c5eb4b",
+  "uuid" : "ca667f9d-7d74-40e9-b55f-39ed24737b42",
   "persistent" : true,
   "insertionIndex" : 5
 }
\ No newline at end of file