[GH-ISSUE #2095] How to use this with Own Document #26961

Closed
opened 2026-04-22 03:45:29 -05:00 by GiteaMirror · 4 comments
Owner

Originally created by @bibutikoley on GitHub (Jan 19, 2024).
Original GitHub issue: https://github.com/ollama/ollama/issues/2095

Is it possible to use this with custom documents(pdf, html, doc, etc) or by specifying a Website URL where it can fetch data from the website. If yes, please let me know how can it be achieved?

Originally created by @bibutikoley on GitHub (Jan 19, 2024). Original GitHub issue: https://github.com/ollama/ollama/issues/2095 Is it possible to use this with custom documents(pdf, html, doc, etc) or by specifying a Website URL where it can fetch data from the website. If yes, please let me know how can it be achieved?
GiteaMirror added the question label 2026-04-22 03:45:29 -05:00
Author
Owner

@oliverbob commented on GitHub (Jan 19, 2024):

You can download ollama-webui. Its a great project by a large community. Here's my fork of it. https://github.com/oliverbob/gpt-ui. Ollama web ui is the best alternative to Chat GPT. You can fork it too and modify it to your own needs. It enables document attachment so you can talk to it.

<!-- gh-comment-id:1900533502 --> @oliverbob commented on GitHub (Jan 19, 2024): You can download ollama-webui. Its a great project by a large community. Here's my fork of it. https://github.com/oliverbob/gpt-ui. Ollama web ui is the best alternative to Chat GPT. You can fork it too and modify it to your own needs. It enables document attachment so you can talk to it.
Author
Owner

@bibutikoley commented on GitHub (Jan 19, 2024):

@oliverbob Thanks for sharing the information.
I tried that, I also added my documents to it. But for some reason, I don't get response from my documents. But it provides me response from its own knowledge base.

How can I fix this and also I don't want to use the AI's knowledge-base but the bot should only provide me response from my documents only and any other questions should be responded with the text, "I'm unable to respond to that query"

Is it possible to achieve this with the WebUI repository?

Please Note: I'm using Mistral AI as the AI model.

<!-- gh-comment-id:1900616093 --> @bibutikoley commented on GitHub (Jan 19, 2024): @oliverbob Thanks for sharing the information. I tried that, I also added my documents to it. But for some reason, I don't get response from my documents. But it provides me response from its own knowledge base. How can I fix this and also I don't want to use the AI's knowledge-base but the bot should only provide me response from my documents only and any other questions should be responded with the text, "I'm unable to respond to that query" Is it possible to achieve this with the WebUI repository? Please Note: I'm using Mistral AI as the AI model.
Author
Owner

@oliverbob commented on GitHub (Jan 20, 2024):

In my opinion, it depends on the model you're talking to. And you also need to create a model with "create" modelfile command and give it system prompt as direction. Of course all that are available options in the UI. You have to experiment with the right model who can do the inferencing job you require.

<!-- gh-comment-id:1902064281 --> @oliverbob commented on GitHub (Jan 20, 2024): In my opinion, it depends on the model you're talking to. And you also need to create a model with "create" modelfile command and give it system prompt as direction. Of course all that are available options in the UI. You have to experiment with the right model who can do the inferencing job you require.
Author
Owner

@mxyng commented on GitHub (Mar 11, 2024):

Closing this since it seems the question's been answered

<!-- gh-comment-id:1989273417 --> @mxyng commented on GitHub (Mar 11, 2024): Closing this since it seems the question's been answered
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#26961