Skip to content

the-data-gateway-initiative/kosh

Repository files navigation

kosh

The official Web-based AI agent for querying and exploring India’s governance data through natural language.

Currently, two official plugins are available:

Authentication & API Keys

Kosh supports user authentication and custom API key management to bypass rate limits.

Setup Authentication

Using Firebase:

# Install dependencies
npm install

# Copy environment template
cp .env.example .env

# Configure Firebase credentials in .env

Features

  • Email/Password & Google OAuth
  • Encrypted API key storage
  • Usage tracking & analytics
  • Rate limiting (10/hr free, 100/hr with API key)
  • Cost estimation per model

User API Keys

Users can add their own API keys to:

  • Bypass rate limits
  • Control their own costs
  • Use premium models
  • Get faster responses

Database Setup

Firebase Firestore:

  • Configure Firestore in your Firebase console
  • Set up security rules for collections: user_api_keys, usage_logs

About

The official Web-based AI agent for querying and exploring India’s governance data through natural language.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors