From 09368843e12cb546c668dd2a9ba81eabdc38a9aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20=C5=A0uppa?= Date: Fri, 1 Mar 2024 23:43:47 +0200 Subject: [PATCH] fix: import of ChromaRM --- docs/api/retrieval_model_clients/ChromadbRM.md | 2 +- docs/docs/deep-dive/retrieval_models_clients/ChromadbRM.mdx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/api/retrieval_model_clients/ChromadbRM.md b/docs/api/retrieval_model_clients/ChromadbRM.md index 9b40759a51..42f6f42e7f 100644 --- a/docs/api/retrieval_model_clients/ChromadbRM.md +++ b/docs/api/retrieval_model_clients/ChromadbRM.md @@ -41,7 +41,7 @@ Search the chromadb collection for the top `k` passages matching the given query ChromadbRM have the flexibility from a variety of embedding functions as outlined in the [chromadb embeddings documentation](https://docs.trychroma.com/embeddings). While different options are available, this example demonstrates how to utilize OpenAI embeddings specifically. ```python -from dspy.retrieve import ChromadbRM +from dspy.retrieve.chroma_rm import ChromadbRM import os import openai from chromadb.utils.embedding_functions import OpenAIEmbeddingFunction diff --git a/docs/docs/deep-dive/retrieval_models_clients/ChromadbRM.mdx b/docs/docs/deep-dive/retrieval_models_clients/ChromadbRM.mdx index a5883ac083..f02102f46d 100644 --- a/docs/docs/deep-dive/retrieval_models_clients/ChromadbRM.mdx +++ b/docs/docs/deep-dive/retrieval_models_clients/ChromadbRM.mdx @@ -45,7 +45,7 @@ Search the chromadb collection for the top `k` passages matching the given query ## Sending Retrieval Requests via ChromadbRM Client ```python -from dspy.retrieve import ChromadbRM +from dspy.retrieve.chromadb_rm import ChromadbRM import os import openai from chromadb.utils.embedding_functions import OpenAIEmbeddingFunction