An intelligent AI assistant with document analysis, web search capabilities, and support for Ghanaian languages (Ga and Twi). Built with Streamlit, LangChain, and LangGraph.
- π¬ Smart Conversational AI: Powered by Groq's LLM with context-aware responses
- π Document RAG: Upload and query PDFs, Word documents, and text files
- π Web Search Integration: Real-time information retrieval using DuckDuckGo
- π Hybrid Mode: Combines document knowledge with web search for comprehensive answers
- π Local Language Support: Full translation support for Ga and Twi languages
- π§ Intelligent Memory Management: Automatic conversation summarization for extended chats
- π¨ Modern Dark UI: Beautiful, responsive interface with dark theme
- πΎ Persistent Storage: Chat history saved per language and session
- Python 3.8 or higher
- Groq API key
- Ghana NLP API key (for language translation)
-
Clone the repository
-
Install dependencies pip install -r requirements.txt
-
Set up environment variables by creating a .env file in the root directory: GROQ_API_KEY=your_groq_api_key_here GHANA_NLP_KEY=your_ghana_nlp_key_here
-
Run the application streamlit run web.py