Skip to content

πŸ€– AI assistant with RAG, web search & Ghanaian language support (Ga, Twi). Built with Streamlit & LangGraph.

Notifications You must be signed in to change notification settings

Adlai-1/GhanaGPT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

10 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

GhanaGPT πŸ‡¬πŸ‡­

An intelligent AI assistant with document analysis, web search capabilities, and support for Ghanaian languages (Ga and Twi). Built with Streamlit, LangChain, and LangGraph.

🌟 Features

  • πŸ’¬ 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

πŸš€ Quick Start

Prerequisites

  • Python 3.8 or higher
  • Groq API key
  • Ghana NLP API key (for language translation)

Installation

  • 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

Screenshot from 2025-09-16 13-47-06

Releases

No releases published

Packages

No packages published

Languages