-
Notifications
You must be signed in to change notification settings - Fork 4.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] Astra DB Vectorize doesn't allow for Bring-Your-Own-Embedding (BYOE) #4387
Comments
The issue you're encountering with the AstraDBVectorStore component when using Bring-Your-Own-Embedding (BYOE) and the
If the issue persists, reviewing the specific configurations and logs might provide more insights into the problem. |
This is not yet fixed |
bugfix: Handle BYO Embeddings (langflow-ai#4387)
Bug Description
Error building Component Astra DB: Error adding documents to AstraDBVectorStore: AstraDBVectorStore.add_texts could not insert all requested documents (53 failed replace_one calls)
Duration: 1.46 seconds
Reproduction
Steps to reproduce the behavior.
The key here is that, instead of
API Key Name
, we will provide the key value atProvider API Key
and as documented, this Astra DB vector store document should accept a bring-your-own-embedding style setup and properly embedding the input data.My flow is attached here for reference
Docs_Search_to_AstraDB.json
FWIW, when we add the BYOE key via the Astra portal's integration menu -> add a new key -> marry it with a database -> Come to langflow component -> choose Astra Vectorize -> Choose the
API Key name
(as we gave it at the Astra portal integration menu) -> this works.Expected behavior
This setup should just work leveraging the Azure OpenAI embedding provider's key to embed the input text
Who can help?
No response
Operating System
n/a
Langflow Version
DSLF as on 02-Nov-2024
Python Version
None
Screenshot
No response
Flow File
No response
The text was updated successfully, but these errors were encountered: