An AI-powered agricultural assistant API that provides real-time, streaming responses to agricultural queries. Supports multiple languages (Hindi, Marathi, English) and offers a wide range of agricultural services including weather forecasts, market prices, scheme information, and more.
- Framework: FastAPI, Uvicorn, Gunicorn
- AI/LLM: Pydantic AI, OpenAI/Azure OpenAI/vLLM
- Cache & Search: Redis, Marqo (Vector Search)
- Database: PostgreSQL (SQLAlchemy)
- Authentication: JWT (PyJWT)
- Monitoring: Logfire
- Infrastructure: Docker, Supervisor
- Language: Python 3.10+
- Voice API Documentation - Complete API reference and usage guide
- Docker and Docker Compose
- Python 3.8+ (for local development)
docker network create svanetworkdocker run -d --name redis-stack --network svanetwork -p 6379:6379 -p 8001:8001 redis/redis-stack:latestdocker run --name marqo -p 8882:8882 \
-e MARQO_MAX_CONCURRENT_SEARCH=50 \
-e VESPA_POOL_SIZE=50 \
marqoai/marqo:latestdocker compose up --build --force-recreate --detachdocker logs -f sva_appdocker compose down --remove-orphans- Clone the repository
- Install dependencies:
pip install -r requirements.txtSee the API Documentation for detailed information about endpoints, request parameters, and response formats.
docker system prune -a --volumesdocker compose down --remove-orphans
docker compose up --build --force-recreate --detach