Feature Request: Ollama Tools #293

Closed
opened 2026-02-15 16:29:40 -05:00 by yindo · 6 comments
Owner

Originally created by @HamzaYslmn on GitHub (Aug 16, 2025).

Feature Request: RAG-Powered Web and File Search and Other Tools

I really enjoy the convenience that Ollama provides when running locally 👍 However, some tools don’t directly integrate with the current library.

It would be amazing if RAG (Retrieval-Augmented Generation) features could be added for both web search and local file search. This would make the experience far more powerful and still easy to use.

  • Searching across local files and generating contextual answers
  • Pulling in up-to-date information from the web to enrich responses
# Local file search
answer = ollama.rag_search(
    query="Explain the architecture diagram",
    sources=["/documents/project/*.pdf"]
)
print(answer)

# Web search
answer = ollama.rag_search(
    query="What’s new in Python 3.13?",
    sources=["web"]
)
print(answer)
Originally created by @HamzaYslmn on GitHub (Aug 16, 2025). ### Feature Request: RAG-Powered Web and File Search and Other Tools I really enjoy the convenience that Ollama provides when running locally 👍 However, some tools don’t directly integrate with the current library. It would be amazing if **RAG (Retrieval-Augmented Generation)** features could be added for both **web search** and **local file search**. This would make the experience far more powerful and still easy to use. * Searching across local files and generating contextual answers * Pulling in up-to-date information from the web to enrich responses ```python # Local file search answer = ollama.rag_search( query="Explain the architecture diagram", sources=["/documents/project/*.pdf"] ) print(answer) # Web search answer = ollama.rag_search( query="What’s new in Python 3.13?", sources=["web"] ) print(answer) ```
yindo closed this issue 2026-02-15 16:29:40 -05:00
Author
Owner

@andreamoro commented on GitHub (Aug 24, 2025):

This is the same issue I've opened a couple of days ago.

https://github.com/ollama/ollama-python/issues/562

I've built a bit more than a wrapper in the meantime, link is available in my original issue

@andreamoro commented on GitHub (Aug 24, 2025): This is the same issue I've opened a couple of days ago. https://github.com/ollama/ollama-python/issues/562 I've built a bit more than a wrapper in the meantime, link is available in my original issue
Author
Owner

@HamzaYslmn commented on GitHub (Aug 28, 2025):

This is the same issue

Not the same issue. You are looking for MCP setup with the structured output feature.

Im searching RAG and other tools.

@HamzaYslmn commented on GitHub (Aug 28, 2025): > This is the same issue Not the same issue. You are looking for MCP setup with the structured output feature. Im searching RAG and other tools.
Author
Owner

@ParthSareen commented on GitHub (Oct 3, 2025):

@HamzaYslmn did you check out https://ollama.com/blog/web-search?

@ParthSareen commented on GitHub (Oct 3, 2025): @HamzaYslmn did you check out https://ollama.com/blog/web-search?
Author
Owner

@HamzaYslmn commented on GitHub (Oct 3, 2025):

did you check out https://ollama.com/blog/web-search?

yes but file search still not available,

@HamzaYslmn commented on GitHub (Oct 3, 2025): > did you check out https://ollama.com/blog/web-search? yes but file search still not available,
Author
Owner

@ParthSareen commented on GitHub (Oct 3, 2025):

@HamzaYslmn file search is a bit harder to do as a "primitive" since there are quite a few steps to it. We might have some simpler ones soon but not planning to do that.

@ParthSareen commented on GitHub (Oct 3, 2025): @HamzaYslmn file search is a bit harder to do as a "primitive" since there are quite a few steps to it. We might have some simpler ones soon but not planning to do that.
Author
Owner

@HamzaYslmn commented on GitHub (Oct 3, 2025):

At least if it could read basic things like PDFs, that would be sufficient. Do OCR, vectorize the text like on the web etc

@HamzaYslmn commented on GitHub (Oct 3, 2025): At least if it could read basic things like PDFs, that would be sufficient. Do OCR, vectorize the text like on the web etc
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: ollama/ollama-python#293