A bot that accepts PDF docs and lets you ask questions on it.
2.0K
A bot that accepts PDF docs and lets you ask questions on it.
The LLMs are downloaded and served via Ollama.
make start
make start-gpu
When the server is up and running, access the app at: http://localhost:8501
Switch to a different model by changing the MODEL env variable in the docker-compose.yaml. Check out the available models from here.
Note:
Image on DockerHub: https://hub.docker.com/r/amithkoujalgi/pdf-bot
https://github.com/amithkoujalgi/ollama-pdf-bot/assets/1876165/40dc70e6-9d35-4171-9ae6-d82247dbaa17
temperature, top_k, top_p as configurable env varsContributions are most welcome! Whether it's reporting a bug, proposing an enhancement, or helping with code - any sort of contribution is much appreciated.
docker run -it -v ~/ollama:/root/.ollama -p 11434:11434 ollama/ollama
pip install -r requirements.txt
streamlit run pdf_bot/app.py
Thanks to the incredible Ollama, Langchain and Streamlit projects.
No tags have been pushed to this repository yet.