davsclaus opened a new pull request, #25314: URL: https://github.com/apache/camel/pull/25314
## Summary Improves the AI component documentation based on real-world user feedback from a [blog post](https://my-tech-profile.dev/insights/llm-integration-with-apache-camel) by a developer building LLM-powered pipelines with Camel. The author documented several documentation gaps they hit in practice. Changes: - **AI summary page**: Added a "Choosing the Right AI Component" decision guide with a comparison table between `camel-openai` and `camel-langchain4j-chat`, helping users pick the right component for their needs - **OpenAI component**: Added a "Tips for Production Use" section covering: - Temperature and model parameters (low temperature for structured output) - Dynamic prompt construction with Simple expressions - Structured output (`outputClass`/`jsonSchema`) as the recommended approach for JSON extraction - Handling model output errors (200 responses with unusable content) - Prompt management at scale (resource files, property placeholders) - Streaming considerations (pipeline vs user-facing scenarios) - **LangChain4j Chat component**: Added cross-reference to the OpenAI component and AI summary decision guide ## Test plan - [ ] Verify AsciiDoc renders correctly on the Camel website - [ ] Verify all `xref:` links resolve to valid targets - [ ] Review decision table for accuracy _Claude Code on behalf of davsclaus_ 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude Opus 4.6 <[email protected]> -- 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]
