docs: Use local inference modern-sparse-neural-retrieval.md (#1600)

* docs: Update to use local inference

Signed-off-by: Anush008 <anushshetty90@gmail.com>

* chore: Review updates

Signed-off-by: Anush008 <anushshetty90@gmail.com>

* chore: Formatting

Signed-off-by: Anush008 <anushshetty90@gmail.com>

---------

Signed-off-by: Anush008 <anushshetty90@gmail.com>
This commit is contained in:
Anush
2025-05-15 19:37:07 +05:30
committed by GitHub
parent 9577b88aac
commit 57fb83b9bc
5 changed files with 72 additions and 7 deletions
@@ -219,11 +219,11 @@ You are not restricted to using one LLM in your program; you can use [multiple](
You can easily set up [Qdrant](/documentation/frameworks/dspy/) vector store to act as the retrieval model. To do so, follow these steps:
```python
# pip install dspy-ai[qdrant]
# pip install dspy-ai dspy-qdrant
import dspy
from dspy.retrieve.qdrant_rm import QdrantRM
from dspy_qdrant import QdrantRM
from qdrant_client import QdrantClient