Skip to content

Commit 8c666d4

Browse files
Merge pull request #516 from mrshu/mrshu/fix-chromadb_rm
fix: import of ChromaRM
2 parents 58030c9 + 0936884 commit 8c666d4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/api/retrieval_model_clients/ChromadbRM.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ Search the chromadb collection for the top `k` passages matching the given query
4141
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.
4242

4343
```python
44-
from dspy.retrieve import ChromadbRM
44+
from dspy.retrieve.chroma_rm import ChromadbRM
4545
import os
4646
import openai
4747
from chromadb.utils.embedding_functions import OpenAIEmbeddingFunction

docs/docs/deep-dive/retrieval_models_clients/ChromadbRM.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ Search the chromadb collection for the top `k` passages matching the given query
4545
## Sending Retrieval Requests via ChromadbRM Client
4646

4747
```python
48-
from dspy.retrieve import ChromadbRM
48+
from dspy.retrieve.chromadb_rm import ChromadbRM
4949
import os
5050
import openai
5151
from chromadb.utils.embedding_functions import OpenAIEmbeddingFunction

0 commit comments

Comments
 (0)