title | emoji | colorFrom | colorTo | sdk | sdk_version | app_file | pinned | license |
---|---|---|---|---|---|---|---|---|
Chatbot PDF |
๐ |
pink |
blue |
streamlit |
1.33.0 |
app.py |
false |
mit |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
Chatbot-PDF is a conversational application that allows users to interact with PDF documents using natural language. It utilizes Hugging Face's open-source models to understand and respond to user queries related to the content of PDF files.
- Streamlit Interface: Built with Streamlit, providing an intuitive and interactive user interface.
- PDF Integration: Chatbot is capable of processing PDF documents and extracting relevant information.
- Natural Language Understanding: Powered by Hugging Face's models, the chatbot understands and responds to user queries in natural language.
To use the Chatbot-PDF application, follow these steps:
- Clone the Repository: Begin by cloning this repository to your local machine. Open your terminal or command prompt and use the following command:
git clone https://github.com/theSuriya/RAG-LLAMA-INDEX
-
Open in Your Favorite IDE: Open the cloned directory in your preferred Integrated Development Environment (IDE) such as Visual Studio Code, PyCharm, or any other IDE of your choice.
-
HuggingFace Account login:If you don't have a Hugging Face account, create one. You'll need an account to generate an authentication token. Follow the steps outlined in this guid to generate your token. Once you have the token, locate the .env file in your project directory. Open it and paste your token like this:
HF_TOkEN = "paste the token here"
- Install Dependencies: Make sure you have Python installed on your system. Then, In your terminal or command prompt within the project directory, run:
pip install -r requirements.txt
- Run the Application: Navigate to the project directory and run the following command:
streamlit run app.py
- Interact with the Chatbot: Once the application is running, open a web browser and go to http://localhost:8501 to access the chat interface. You can now interact with the chatbot by asking questions related to the provided PDF documents.
For a live demo of the Chatbot-PDF application, visit here.
Contributions are welcome! If you have any ideas for improvements or encounter any issues, feel free to open an issue or submit a pull request.
This project is licensed under the MIT License.