Skip to content

Prototype with new class AutoEmbeddingVectorStore and test_autoembedd…#204

Draft
Casey Clements (caseyclements) wants to merge 3 commits intolangchain-ai:mainfrom
caseyclements:auto-embedding-preview
Draft

Prototype with new class AutoEmbeddingVectorStore and test_autoembedd…#204
Casey Clements (caseyclements) wants to merge 3 commits intolangchain-ai:mainfrom
caseyclements:auto-embedding-preview

Conversation

@caseyclements
Copy link
Collaborator

This is just a draft PR, for testing and discussion.

def from_texts(
cls,
texts: List[str],
embedding: Embeddings = VoyageAIEmbeddings(model="voyage-3-large"),
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not needed since the search index is handling this

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a red herring. I added from_texts as it is abstractmethod. I wasn't using it for the test. embedding is a required argument to the base VectorStore's constructors.

@caseyclements
Copy link
Collaborator Author

Jib (@Jibola) I am going to close this unless you can think of a reason to keep it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants