Croway commented on code in PR #19820:
URL: https://github.com/apache/camel/pull/19820#discussion_r2495463029
##########
components/camel-ai/camel-openai/src/main/docs/openai-component.adoc:
##########
@@ -0,0 +1,358 @@
+= OpenAI Component
+:doctitle: OpenAI
+:shortname: openai
+:artifactid: camel-openai
+:description: OpenAI endpoint for chat completion.
+:since: 4.17
+:supportlevel: Preview
+:tabs-sync-option:
+:component-header: Only producer is supported
+
+*Since Camel {since}*
+
+*{component-header}*
+
+The OpenAI component provides integration with OpenAI and OpenAI-compatible
APIs for chat completion using the official openai-java SDK.
+
+== URI Format
+
+[source]
+----
+openai:operation[?options]
+----
+
+Currently, only the `chat-completion` operation is supported.
+
+== Component Options
Review Comment:
These should be generated, like the partials in
https://github.com/apache/camel/blob/main/components/camel-ai/camel-langchain4j-agent/src/main/docs/langchain4j-agent-component.adoc#uri-format
--
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]