Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/api/retrieval_model_clients/ChromadbRM.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down