--- title: AmaniQuery Agent emoji: ⚖️ colorFrom: blue colorTo: green sdk: docker app_port: 7860 pinned: false --- ## AmaniQuery Agent on Hugging Face Spaces This Space hosts the AmaniQuery Agent API, a Go-based RAG service for legal and civic information in Kenya. ## Configuration This Space is configured using the Docker SDK. The Dockerfile is located at root. ### Environment Variables The following secrets must be set in the Space settings: - `OPENAI_API_KEY`: API key for OpenAI (if using OpenAI models) - `QDRANT_URL`: URL for Qdrant vector database (e.g., Qdrant Cloud) - `QDRANT_API_KEY`: API key for Qdrant - `REDIS_URL`: URL for Redis cache (e.g., Upstash) - `DB_HOST`: PostgreSQL host (e.g., Neon.tech) - `DB_PORT`: PostgreSQL port - `DB_USER`: PostgreSQL user - `DB_PASSWORD`: PostgreSQL password - `DB_NAME`: PostgreSQL database name