We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d080774 commit 81c2f57Copy full SHA for 81c2f57
docs/api/retrieval_model_clients/FaissRM.md
@@ -40,7 +40,7 @@ The **FaissRM** module provides a retriever that uses an in-memory Faiss vector
40
41
```python
42
import dspy
43
-from dspy.retrieve import FaissRM
+from dspy.retrieve.faiss_rm import FaissRM
44
45
document_chunks = [
46
"The superbowl this year was played between the San Francisco 49ers and the Kanasas City Chiefs",
@@ -59,4 +59,4 @@ frm = FaissRM(document_chunks)
59
turbo = dspy.OpenAI(model="gpt-3.5-turbo")
60
dspy.settings.configure(lm=turbo, rm=frm)
61
print(frm(["I am in the mood for Chinese food"]))
62
-```
+```
0 commit comments