https://github.com/shitan198u/chatbot_pdf_local-palm
Chat with your PDF documents with the power of AI.
https://github.com/shitan198u/chatbot_pdf_local-palm
Last synced: about 1 month ago
JSON representation
Chat with your PDF documents with the power of AI.
- Host: GitHub
- URL: https://github.com/shitan198u/chatbot_pdf_local-palm
- Owner: shitan198u
- License: mit
- Created: 2023-10-19T08:02:57.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2023-11-11T16:52:30.000Z (over 1 year ago)
- Last Synced: 2025-02-14T12:17:48.651Z (3 months ago)
- Language: Python
- Size: 141 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## ChatBot_PDF_Local-Palm
Chat with PDF(s) Chatbot
=====================================## Demo App
[](https://pustakgpt.streamlit.app)
This repository contains implementation of querying local PDF documents using open source LLMs or Google Palm API, using streamlit for web interface for ease of use, backend uses langchain for heavylifting.
Prerequisites
-------------To run this application, you need to have the following installed:
* Python (version 3.9 or higher)
* pipenv (for managing the virtual environment)
* Ollama (for running LLMs locally): https://ollama.ai/
* Google Palm API key(if you want to use Palm model):
https://developers.generativeai.google/tutorials/setupInstallation
------------1. Clone the repository to your local machine:
```shell
https://github.com/shitan198u/ChatBot_PDF_Local-Palm.git
```
2. Navigate to the project directory:
```shell
cd ChatBot_PDF_Local-Palm
```
3. Install pipenv if you haven't already:
```shell
pip install pipenv
```4. Create a virtual environment and install the dependencies:
```shell
pipenv install
```
This will automatically create a virtual environment and install the required dependencies specified in the `Pipfile`.
5. Activate the virtual environment:
```shell
pipenv shell
```
6. After installing Ollama:
```shell
ollama pull mistral:instruct
```Usage
-----
Run the app:streamlit run app.py
Contributing
------------Contributions are welcome! If you have any suggestions, improvements, or bug fixes, please open an issue or a pull request.
License
-------This project is licensed under the [MIT License](LICENSE).