[GH-ISSUE #388] Chat with documents #62213

Closed
opened 2026-05-03 07:54:53 -05:00 by GiteaMirror · 3 comments
Owner

Originally created by @mohdyasa on GitHub (Aug 20, 2023).
Original GitHub issue: https://github.com/ollama/ollama/issues/388

Is it possible to chat with documents (pdf, doc, etc.) using this solution?

Originally created by @mohdyasa on GitHub (Aug 20, 2023). Original GitHub issue: https://github.com/ollama/ollama/issues/388 Is it possible to chat with documents (pdf, doc, etc.) using this solution?
Author
Owner

@gusanmaz commented on GitHub (Aug 20, 2023):

You could use LangChain with Ollama for this purpose. There is a tutorial (https://github.com/jmorganca/ollama/blob/main/docs/tutorials/langchainpy.md) that could be helpful in the repo.

You could also check out LangChain's Ollama class documentation (https://python.langchain.com/docs/integrations/llms/ollama).

<!-- gh-comment-id:1685271595 --> @gusanmaz commented on GitHub (Aug 20, 2023): You could use LangChain with Ollama for this purpose. There is a tutorial (https://github.com/jmorganca/ollama/blob/main/docs/tutorials/langchainpy.md) that could be helpful in the repo. You could also check out LangChain's Ollama class documentation (https://python.langchain.com/docs/integrations/llms/ollama).
Author
Owner

@mchiang0610 commented on GitHub (Aug 21, 2023):

Yes, there is also an example using a modified version of privateGPT to use Ollama. Code example here:

https://github.com/jmorganca/ollama/tree/main/examples/privategpt

<!-- gh-comment-id:1686690791 --> @mchiang0610 commented on GitHub (Aug 21, 2023): Yes, there is also an example using a modified version of privateGPT to use Ollama. Code example here: https://github.com/jmorganca/ollama/tree/main/examples/privategpt
Author
Owner

@mchiang0610 commented on GitHub (Aug 21, 2023):

I will close this issue for now. If you need any help or run into anything, feel free to re-open or create another issue. Thx!

<!-- gh-comment-id:1686692078 --> @mchiang0610 commented on GitHub (Aug 21, 2023): I will close this issue for now. If you need any help or run into anything, feel free to re-open or create another issue. Thx!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#62213