AiContextChat-ST is a chat application built using Streamlit and various natural language processing tools. It provides a platform for users to engage in conversations while leveraging AI capabilities for enhanced interaction.
- Real-time chat functionality
- Support for uploading PDF, TXT, and DOCX files
- Web scraping capability to gather information from websites
- Integration with Google's Generative AI model for intelligent responses
- Ability to save and retrieve past chats
- Streamlit for building the web interface
- BeautifulSoup for HTML parsing and web scraping
- PyPDF2 for PDF text extraction
- docx2txt for DOCX text extraction
- google.generativeai for AI-powered responses
- joblib for saving/loading chat history
-
Clone the repository: git clone https://github.com/NafisRayan/AiContextChat-ST.git
-
Install dependencies: pip install streamlit pandas beautifulsoup4 google-generativeai py-pdf2 docx2txt joblib
-
Run the application: streamlit run app.py
-
Open the application in your web browser at
http://localhost:8501
.
- Enter a URL or upload a file to gather information.
- Select a past chat or start a new one.
- Type your message in the chat input area.
- The AI assistant will respond based on the gathered information and your query.
Contributions are welcome! Please feel free to submit pull requests or issues.