Thomas Cunningham created CAMEL-22412:
-----------------------------------------
Summary: Create a langchain4j-embeddingstore component
Key: CAMEL-22412
URL: https://issues.apache.org/jira/browse/CAMEL-22412
Project: Camel
Issue Type: Task
Components: camel-ai
Affects Versions: 4.14.0
Reporter: Thomas Cunningham
Create a langchain4j-embeddingstore component - langchain4j supplies support
for over 27 embedding stores / vector databases and provides a consistent
interface to interact with them. We have a langchain4-embeddings component
which creates embeddings based on text-segments, it would be a real benefit to
have a similar component for EmbeddingStores that would allow something like
this, which would search a vector database :
{code:java}
from("stream:in")
.to("langchain4j-embeddings:allmini")
.setHeader(LangChain4jEmbeddingStore.Headers.ACTION).constant(LangChain4jEmbeddingStoreAction.SEARCH)
.to("langchain4j-embeddingstore:milvus")
.to("log:input");{code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)