This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/main by this push:
new 8321f7c3274 camel-langchain4j-tools: Fix incorrect URI scheme in
documentation code snippets (#18345)
8321f7c3274 is described below
commit 8321f7c3274ddd5e6011284696691721df2a1a1b
Author: James Netherton <[email protected]>
AuthorDate: Wed Jun 11 20:35:28 2025 +0100
camel-langchain4j-tools: Fix incorrect URI scheme in documentation code
snippets (#18345)
---
.../src/main/docs/langchain4j-tools-component.adoc | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git
a/components/camel-ai/camel-langchain4j-tools/src/main/docs/langchain4j-tools-component.adoc
b/components/camel-ai/camel-langchain4j-tools/src/main/docs/langchain4j-tools-component.adoc
index c843f2d14fb..5c2d0c47cf8 100644
---
a/components/camel-ai/camel-langchain4j-tools/src/main/docs/langchain4j-tools-component.adoc
+++
b/components/camel-ai/camel-langchain4j-tools/src/main/docs/langchain4j-tools-component.adoc
@@ -74,14 +74,14 @@ Consider, for instance, two consumer routes capable of
query an user database by
.Queries user by ID
[source, java]
----
-from("langchain4j-tool:userInfo?tags=users&description=Query database by user
ID")
+from("langchain4j-tools:userInfo?tags=users&description=Query database by user
ID")
.to("sql:SELECT name FROM users WHERE id = :#number");
----
.Queries user by SSN
[source, java]
----
-from("langchain4j-tool:userInfo?tags=users&description=Query database by user
social security ID")
+from("langchain4j-tools:userInfo?tags=users&description=Query database by user
social security ID")
.to("sql:SELECT name FROM users WHERE ssn = :#ssn");
----
@@ -99,7 +99,7 @@ Such a route could receive questions in english such as:
[source, java]
----
from(source)
- .to("langchain4j-tool:userInfo?tags=users");
+ .to("langchain4j-tools:userInfo?tags=users");
----
=== Tool Tags