Repository navigation
Conversation
Adds Ollama as an embedding provider alongside FastEmbed. Supports any model available in Ollama (bge-m3, nomic-embed-text, etc.). Changes: - Add OllamaProvider class using Ollama /api/embed endpoint - Add OLLAMA to EmbeddingProviderType enum - Update factory to create OllamaProvider - Add OLLAMA_BASE_URL setting (default: http://localhost:11434) Usage: EMBEDDING_PROVIDER=ollama EMBEDDING_MODEL=bge-m3 OLLAMA_BASE_URL=http://localhost:11434 Ref: qdrant#62
|
Hi @kacperlukawski — friendly check-in on this PR 🙂 It's been about 4 weeks since the Ollama embedding provider was added. The implementation follows the existing pattern and enables local embedding models (like ) without external API keys, as requested in #62. Let me know if there's anything that needs adjusting — happy to rebase or make changes as needed! |
|
Hi @kacperlukawski — second friendly check-in on this PR 🙂 Status:
If the maintainer team is happy with the direction, I am happy to:
If there is no bandwidth to review right now, no problem — happy to keep it open as a reference. If closing is preferred, I can close it cleanly with a summary of what was implemented for future contributors. Thanks for your time. |
|
Hi @kacperlukawski — third check-in on this PR 🙂 Status update:
The Ollama embedding provider enables local model usage without API keys — a common request from the community. Would love to get this merged or receive feedback. Thanks! |
|
Hi @qdrant/mcp-server-qdrant maintainers! 👋 Just a friendly bump on this PR. It's been open for about 5 weeks. Summary: Adds Ollama as an embedding provider for local model support. This enables users to run embeddings locally without cloud API dependencies. Changes:
Is there anything I can do to help move this forward? Happy to address any feedback or make adjustments. Thanks! 🙏 |
|
Closing this PR as it has been open for 60 days with no review decision. This was a contribution to add Ollama embedding provider support for local models. The PR includes tests and documentation. If there's renewed interest, happy to reopen with updated code. Thanks for maintaining mcp-server-qdrant! |
What
Adds Ollama as an embedding provider alongside FastEmbed, enabling local embedding models without external API keys.
Why
From #62: "Being stuck with fastembed only means this mcp server won't work at all for a lot of us. I'm using Ollama/bge-m3:latest" — @magnus919
@kacperlukawski confirmed: "We have a pretty flexible interface, so adding a new embedding model should not be a big deal. Please feel free to open a PR."
How
New file:
src/mcp_server_qdrant/embeddings/ollama.pyUpdated files:
types.py— AddOLLAMA = "ollama"toEmbeddingProviderTypefactory.py— AddOLLAMAcase tocreate_embedding_provider()settings.py— Addollama_base_urlfield (env:OLLAMA_BASE_URL)Usage
# .env EMBEDDING_PROVIDER=ollama EMBEDDING_MODEL=bge-m3 OLLAMA_BASE_URL=http://localhost:11434Or with any Ollama-compatible model:
Testing
Design decisions
/api/embedendpoint — Ollama's native embedding API, supports batch embeddingRef
Closes #62