Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

README.md

Sanchalak Documentation

Welcome to the documentation for the Sanchalak Unified Government Scheme Eligibility System.

📚 Table of Contents


Project Overview

Sanchalak is a modular, production-ready platform for conversational data collection, eligibility checking, and scheme management for government benefit programs. It integrates LLM-driven chat, scheme logic, and data storage, and is designed for extensibility, reliability, and real-world deployment.


Architecture


Service Overview

  • UI Frontend: Next.js/React, multilingual, voice-enabled chat.
  • UI Backend: Node.js GraphQL server for audio, TTS, and chat integration.
  • Schemabot: Python GraphQL API for conversational data extraction and eligibility.
  • Scheme Server: Python FastAPI, Prolog, and MongoDB for scheme logic and canonical models.
  • EFR Server: Python FastAPI for farmer registry and CRUD operations.
  • LM Studio: LLM inference (Qwen2-57B-Instruct or compatible).
  • MongoDB: Data storage for scheme server and EFR.

Setup & Deployment


Environment Variables

  • All sensitive keys and service URLs are managed via .env.local (for dev) and docker/.env (for Docker).
  • See the sample in docker/.env for all required variables.

API & Service Docs


Scheme Canonical Models


Contributing

  • Fork, branch, and submit PRs.
  • Please keep code modular and document new features.

License

MIT (c) AnnamAI Team