orpiske commented on code in PR #14296:
URL: https://github.com/apache/camel/pull/14296#discussion_r1623920701
##########
components/camel-ai/camel-langchain4j-chat/src/main/docs/langchain4j-chat-component.adoc:
##########
@@ -143,3 +143,37 @@ messages.add(new SystemMessage("You are asked to provide
recommendations for a r
String response = template.requestBody("direct:send-multiple", messages,
String.class);
----
+
+== Chat with Tool
+Camel langchain4j-chat used as a consumer can be used to implement a Tool,
+right now Tools are supported only via the OpenAiChatModel
+backed by OpenAI APIs.
+
+Tool Input parameter can be defined via parameterName and parameterType in
case of only one parameter,
Review Comment:
It would be good to use adoc formatting for better legibility when referring
to parameters or options
##########
components/camel-ai/camel-langchain4j-chat/src/main/docs/langchain4j-chat-component.adoc:
##########
@@ -143,3 +143,37 @@ messages.add(new SystemMessage("You are asked to provide
recommendations for a r
String response = template.requestBody("direct:send-multiple", messages,
String.class);
----
+
+== Chat with Tool
+Camel langchain4j-chat used as a consumer can be used to implement a Tool,
Review Comment:
A bit of nitpick ... There's double "used" here.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]