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 4db337f967b1f495efda88a25b6d4c847af8d187 Author: aldettinger <[email protected]> AuthorDate: Thu Apr 2 10:19:07 2026 +0200 data-extract: upgrade to langchain 1.12.2 --- data-extract-langchain4j/pom.xml | 2 +- ...2d.json => api_chat-173e3a1f-b194-46f7-a510-c1d497f98986.json} | 8 ++++---- ...42.json => api_chat-4400676b-1fdd-4664-bfbd-80be34aae24b.json} | 8 ++++---- ...b7.json => api_chat-f1bd1a9f-c9c9-465d-9328-84d80ca0d4d1.json} | 8 ++++---- 4 files changed, 13 insertions(+), 13 deletions(-) diff --git a/data-extract-langchain4j/pom.xml b/data-extract-langchain4j/pom.xml index 7eb36d22..fa20b595 100644 --- a/data-extract-langchain4j/pom.xml +++ b/data-extract-langchain4j/pom.xml @@ -52,7 +52,7 @@ <maven-resources-plugin.version>3.3.1</maven-resources-plugin.version> <maven-surefire-plugin.version>3.5.5</maven-surefire-plugin.version> - <langchain4j.version>1.11.0</langchain4j.version> + <langchain4j.version>1.12.2</langchain4j.version> <wiremock.version>3.13.2</wiremock.version> </properties> diff --git a/data-extract-langchain4j/src/test/resources/mappings/api_chat-352961ad-e58d-4aa3-bd02-98f1da9b5b2d.json b/data-extract-langchain4j/src/test/resources/mappings/api_chat-173e3a1f-b194-46f7-a510-c1d497f98986.json similarity index 87% rename from data-extract-langchain4j/src/test/resources/mappings/api_chat-352961ad-e58d-4aa3-bd02-98f1da9b5b2d.json rename to data-extract-langchain4j/src/test/resources/mappings/api_chat-173e3a1f-b194-46f7-a510-c1d497f98986.json index bed9253d..27596a5b 100644 --- a/data-extract-langchain4j/src/test/resources/mappings/api_chat-352961ad-e58d-4aa3-bd02-98f1da9b5b2d.json +++ b/data-extract-langchain4j/src/test/resources/mappings/api_chat-173e3a1f-b194-46f7-a510-c1d497f98986.json @@ -1,5 +1,5 @@ { - "id" : "352961ad-e58d-4aa3-bd02-98f1da9b5b2d", + "id" : "173e3a1f-b194-46f7-a510-c1d497f98986", "name" : "api_chat", "request" : { "url" : "/api/chat", @@ -12,13 +12,13 @@ }, "response" : { "status" : 200, - "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 [...] + "body" : "{\"model\":\"granite4:3b-h\",\"created_at\":\"2026-04-02T08:15:17.527674637Z\",\"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" : "Thu, 02 Apr 2026 07:49:56 GMT", + "Date" : "Thu, 02 Apr 2026 08:15:17 GMT", "Content-Type" : "application/json; charset=utf-8" } }, - "uuid" : "352961ad-e58d-4aa3-bd02-98f1da9b5b2d", + "uuid" : "173e3a1f-b194-46f7-a510-c1d497f98986", "persistent" : true, "insertionIndex" : 6 } \ No newline at end of file diff --git a/data-extract-langchain4j/src/test/resources/mappings/api_chat-ca667f9d-7d74-40e9-b55f-39ed24737b42.json b/data-extract-langchain4j/src/test/resources/mappings/api_chat-4400676b-1fdd-4664-bfbd-80be34aae24b.json similarity index 89% rename from data-extract-langchain4j/src/test/resources/mappings/api_chat-ca667f9d-7d74-40e9-b55f-39ed24737b42.json rename to data-extract-langchain4j/src/test/resources/mappings/api_chat-4400676b-1fdd-4664-bfbd-80be34aae24b.json index 10d90a27..705ff402 100644 --- a/data-extract-langchain4j/src/test/resources/mappings/api_chat-ca667f9d-7d74-40e9-b55f-39ed24737b42.json +++ b/data-extract-langchain4j/src/test/resources/mappings/api_chat-4400676b-1fdd-4664-bfbd-80be34aae24b.json @@ -1,5 +1,5 @@ { - "id" : "ca667f9d-7d74-40e9-b55f-39ed24737b42", + "id" : "4400676b-1fdd-4664-bfbd-80be34aae24b", "name" : "api_chat", "request" : { "url" : "/api/chat", @@ -12,13 +12,13 @@ }, "response" : { "status" : 200, - "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 [...] + "body" : "{\"model\":\"granite4:3b-h\",\"created_at\":\"2026-04-02T08:15:31.297936294Z\",\"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" : "Thu, 02 Apr 2026 07:50:10 GMT", + "Date" : "Thu, 02 Apr 2026 08:15:31 GMT", "Content-Type" : "application/json; charset=utf-8" } }, - "uuid" : "ca667f9d-7d74-40e9-b55f-39ed24737b42", + "uuid" : "4400676b-1fdd-4664-bfbd-80be34aae24b", "persistent" : true, "insertionIndex" : 5 } \ No newline at end of file diff --git a/data-extract-langchain4j/src/test/resources/mappings/api_chat-911e18f4-d2c2-4697-b795-8f4a5bf0f9b7.json b/data-extract-langchain4j/src/test/resources/mappings/api_chat-f1bd1a9f-c9c9-465d-9328-84d80ca0d4d1.json similarity index 89% rename from data-extract-langchain4j/src/test/resources/mappings/api_chat-911e18f4-d2c2-4697-b795-8f4a5bf0f9b7.json rename to data-extract-langchain4j/src/test/resources/mappings/api_chat-f1bd1a9f-c9c9-465d-9328-84d80ca0d4d1.json index c81e97dd..a2906d27 100644 --- a/data-extract-langchain4j/src/test/resources/mappings/api_chat-911e18f4-d2c2-4697-b795-8f4a5bf0f9b7.json +++ b/data-extract-langchain4j/src/test/resources/mappings/api_chat-f1bd1a9f-c9c9-465d-9328-84d80ca0d4d1.json @@ -1,5 +1,5 @@ { - "id" : "911e18f4-d2c2-4697-b795-8f4a5bf0f9b7", + "id" : "f1bd1a9f-c9c9-465d-9328-84d80ca0d4d1", "name" : "api_chat", "request" : { "url" : "/api/chat", @@ -12,13 +12,13 @@ }, "response" : { "status" : 200, - "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 [...] + "body" : "{\"model\":\"granite4:3b-h\",\"created_at\":\"2026-04-02T08:15:45.751056354Z\",\"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" : "Thu, 02 Apr 2026 07:50:24 GMT", + "Date" : "Thu, 02 Apr 2026 08:15:45 GMT", "Content-Type" : "application/json; charset=utf-8" } }, - "uuid" : "911e18f4-d2c2-4697-b795-8f4a5bf0f9b7", + "uuid" : "f1bd1a9f-c9c9-465d-9328-84d80ca0d4d1", "persistent" : true, "insertionIndex" : 4 } \ No newline at end of file
