[GH-ISSUE #6563] ollama with text file? #4130

Closed
opened 2026-04-12 15:01:38 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @ayttop on GitHub (Aug 30, 2024).
Original GitHub issue: https://github.com/ollama/ollama/issues/6563

Can ollama handle a text file?

Originally created by @ayttop on GitHub (Aug 30, 2024). Original GitHub issue: https://github.com/ollama/ollama/issues/6563 Can ollama handle a text file?
GiteaMirror added the feature request label 2026-04-12 15:01:38 -05:00
Author
Owner

@rick-github commented on GitHub (Aug 30, 2024):

If you mean can ollama ingest a file and then answer questions, no, ollama is an inference engine, not a RAG solution. There are examples of how you can build on top of ollama to do that, or you can look through the integrations for projects that implement the functionality you are looking for.

<!-- gh-comment-id:2320452865 --> @rick-github commented on GitHub (Aug 30, 2024): If you mean can ollama ingest a file and then answer questions, no, ollama is an inference engine, not a RAG solution. There are [examples](https://github.com/ollama/ollama/tree/main/examples/langchain-python-rag-privategpt) of how you can build on top of ollama to do that, or you can look through the [integrations](https://github.com/ollama/ollama?tab=readme-ov-file#community-integrations) for projects that implement the functionality you are looking for.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#4130