Welcome to Chatterbox, a Retrieval-Augmented Generation (RAG) Chatbot application! Chatterbox allows users to interact with documents through a conversational interface, powered by Streamlit. The app is designed to facilitate easy and efficient document retrieval and conversation, making it ideal for use cases such as customer support, educational tools, and research assistance.
- Chat with Documents: Engage in a conversation with your documents. Chatterbox uses advanced retrieval techniques to provide relevant responses based on the content of the documents.
- Session Storage: Enjoy extended conversations with session storage support. The app retains context across multiple interactions, allowing for a seamless chat experience.
- User-Friendly Interface: Built with Streamlit, Chatterbox offers a clean and intuitive user interface for easy navigation and interaction.
- Document Upload: Users can upload their own documents for personalized interaction.
To run this application, you will need:
- Python 3.8 or higher
- Streamlit
- Additional libraries (listed in
requirements.txt
)
-
Clone the repository:
git clone https://github.com/Quirky-AI-Labs/chatterbox.git cd chatterbox
-
Install the required packages:
pip install -r requirements.txt
-
Run the Streamlit app:
streamlit run app.py
-
Open your web browser and navigate to
http://localhost:8501
to access Chatterbox.
- Upload Documents: Start by uploading your documents using the provided interface. Supported formats include PDF, DOCX, and TXT.
- Start Chatting: Once your documents are uploaded, initiate a conversation by typing your questions in the chat interface.
- Session Management: Chatterbox automatically manages your session, allowing you to continue your conversation without losing context.
- User: What is the main topic of the document?
- Chatterbox: The main topic of the document is about the impact of climate change on marine life.
Contributions are welcome! If you'd like to contribute to Chatterbox, please fork the repository and submit a pull request with your changes.
- Fork the repository.
- Create your feature branch (
git checkout -b feature/YourFeature
). - Commit your changes (
git commit -m 'Add some feature'
). - Push to the branch (
git push origin feature/YourFeature
). - Open a pull request.
Happy chatting with your documents in Chatterbox! 🚀