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

docs(embeddings): finalize embeddings overhaul feature #72

Merged

Conversation

marieaurore123
Copy link
Contributor

@marieaurore123 marieaurore123 commented Oct 22, 2024

Cleanup embeddings overhaul.

Fix docs.
Add doc tests.
Add more examples.
Test all examples.
Rename Embeddable to ExtractEmbeddingFields

@mateobelanger mateobelanger changed the title Cleanup(embeddings)/finalize feature docs(embeddings): finalize feature Oct 23, 2024
@mateobelanger mateobelanger changed the title docs(embeddings): finalize feature docs(embeddings): finalize embeddings overhaul feature Oct 23, 2024
rig-core/src/vector_store/in_memory_store.rs Outdated Show resolved Hide resolved
@@ -73,6 +73,7 @@ impl<M: EmbeddingModel, T: Embeddable> EmbeddingsBuilder<M, T> {
///
/// let model = openai_client.embedding_model(TEXT_EMBEDDING_ADA_002);
///
/// # tokio_test::block_on(async {
Copy link
Contributor

Choose a reason for hiding this comment

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

Remove the tokio_test::block_on for now, we'll make the docstring codeblocks runable in a subsequent PR

rig-mongodb/src/lib.rs Outdated Show resolved Hide resolved
rig-mongodb/src/lib.rs Outdated Show resolved Hide resolved
rig-mongodb/src/lib.rs Outdated Show resolved Hide resolved
rig-lancedb/src/lib.rs Outdated Show resolved Hide resolved
rig-lancedb/src/lib.rs Outdated Show resolved Hide resolved
rig-lancedb/src/lib.rs Outdated Show resolved Hide resolved
@cvauclair cvauclair merged commit 5135451 into feat/embeddings-overhaul Oct 24, 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