Jiří Ondrušek created CAMEL-24366:
-------------------------------------
Summary: langchain4j-embeddingstore: Add embeddingModel auto-embed
support
Key: CAMEL-24366
URL: https://issues.apache.org/jira/browse/CAMEL-24366
Project: Camel
Issue Type: Improvement
Reporter: Jiří Ondrušek
Assignee: Jiří Ondrušek
Add an optional embeddingModel property (autowired) to the
langchain4j-embeddingstore component. When configured, ADD and SEARCH
operations accept plain text in the message body instead of requiring a
pre-computed Embedding in the CamelLangChain4jEmbeddingsEmbedding header. The
header always takes precedence when present.
This simplifies usage for the common case where callers want to store or search
text without manually embedding it first.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)