README / README.md
Benaah's picture
Update README.md
2e8c459 verified
|
Raw
History Blame Contribute Delete
3.24 kB
metadata
title: AmaniQuery
emoji: πŸ”
colorFrom: blue
colorTo: green
pinned: true

πŸ” AmaniQuery

AI-Powered Legal & Policy Research Assistant for Kenya

Backend Voice Docs


🎯 What is AmaniQuery?

AmaniQuery is a RAG-powered research platform that makes Kenyan legal documents, parliamentary proceedings, and policy information accessible through natural language queries.

✨ Features

  • πŸ” Intelligent Search - Query laws, bills, and parliamentary hansards using natural language
  • πŸ€– AI-Powered Answers - Get synthesized responses with source citations
  • 🎀 Voice Interface - Ask questions and get spoken responses
  • πŸ“„ Document Processing - Upload and analyze legal documents
  • πŸ“Š Research Reports - Generate comprehensive research summaries
  • πŸ” Secure API - JWT authentication for enterprise use

πŸ› οΈ Technology Stack

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚                     AmaniQuery                          β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚  πŸ” Backend      β”‚  FastAPI + LangGraph + RAG Pipeline  β”‚
β”‚  🎀 Voice        β”‚  Microsoft VibeVoice TTS             β”‚
β”‚  πŸ“„ Documents    β”‚  WeKnora (Tencent RAG Framework)     β”‚
β”‚  🧠 LLM          β”‚  Moonshot / Gemini / OpenAI          β”‚
β”‚  πŸ“Š Vector Store β”‚  Qdrant / Upstash                    β”‚
β”‚  πŸ—„οΈ Database     β”‚  PostgreSQL                          β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

πŸ“– API Usage

Query the Knowledge Base

curl -X POST https://amaniquery-backend.hf.space/api/v1/query \
  -H "Content-Type: application/json" \
  -d '{"query": "What does the Kenya Constitution say about land rights?"}'

Text-to-Speech

curl -X POST https://amaniquery-vibevoice.hf.space/api/v1/voice/speak \
  -H "Content-Type: application/json" \
  -d '{"text": "Hello from AmaniQuery", "voice": "Wayne"}'

🀝 Contributing

We welcome contributions! Check out our GitHub repository to get started.


πŸ“„ License

MIT License - See LICENSE for details.


Made with ❀️ for Kenya

Empowering citizens with accessible legal information