DSPy: The framework for programming—not prompting—language models
Python
fix: import of ChromaRM
Marek Šuppa09368843e12c
diff --git a/docs/api/retrieval_model_clients/ChromadbRM.md b/docs/api/retrieval_model_clients/ChromadbRM.mdindex 9b40759a5..42f6f42e7 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 queryChromadbRM 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 ChromadbRMimport osimport openaifrom chromadb.utils.embedding_functions import OpenAIEmbeddingFunctiondiff --git a/docs/docs/deep-dive/retrieval_models_clients/ChromadbRM.mdx b/docs/docs/deep-dive/retrieval_models_clients/ChromadbRM.mdxindex a5883ac08..f02102f46 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 ChromadbRMimport osimport openaifrom chromadb.utils.embedding_functions import OpenAIEmbeddingFunction