amaniquery

non-profit

AI & ML interests

Agent Frameworks.

Recent Activity

BenaahĀ  updated a Space 4 days ago
AmaniQuery/amaniquery-agent
BenaahĀ  published a Space 4 days ago
AmaniQuery/amaniquery-agent
BenaahĀ  updated a Space 4 days ago
AmaniQuery/README
View all activity

šŸ” 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

models 0

None public yet

datasets 0

None public yet