Skip to content
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

Feat(embeddings): Add embeddable trait to embeddings builder #64

Conversation

marieaurore123
Copy link
Contributor

@marieaurore123 marieaurore123 commented Oct 18, 2024

This PR deals with the EmbeddingsBuilder.

  • The builder now only handles items that implement the Embeddable trait.
  • The builder contains documents of type (T: Embeddable, OneOrMany<String>)

All examples using the embeddings builder had to be changed as well.

@marieaurore123 marieaurore123 changed the title Feat(embeddings)/add embeddable trait to embeddings builder Feat(embeddings): Add embeddable trait to embeddings builder Oct 21, 2024
Copy link
Contributor

@cvauclair cvauclair left a comment

Choose a reason for hiding this comment

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

Found a small typo in docstring, but once that is fixed you can merge!

@marieaurore123 marieaurore123 merged commit 38ca0db into feat/embeddings-overhaul Oct 21, 2024
4 checks passed
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