Spaces:
Running
Running
| title: sanatan_ai | |
| app_file: main.py | |
| sdk: gradio | |
| sdk_version: 5.46.1 | |
| python_version: 3.13 | |
| ### Introduction | |
| This is an Agentic-AI project that integrates all Hindu Sanatan Dharma scriptures into a single searchable platform. | |
| ### Supported Channels | |
| - Web (https://huggingface.co/spaces/vikramvasudevan/sanatan_ai) | |
| - Android (bhashyam.ai app) | |
| ### Prerequisites | |
| - Set the following environment variables on your server | |
| ``` | |
| LANGSMITH_TRACING="true" | |
| LANGSMITH_ENDPOINT="https://api.smith.langchain.com" | |
| LANGSMITH_API_KEY="<your_key>" | |
| LANGSMITH_PROJECT="<your_project>" | |
| MODEL=gpt-4o-mini | |
| OPENAI_API_KEY=<your_key> | |
| PUSHOVER_TOKEN=<your_token> | |
| PUSHOVER_USER=<your_user> | |
| SERPER_API_KEY=<your_key> | |
| GOOGLE_SERVICE_ACCOUNT_JSON=<your_google_service_account_json_as_single_line_text> | |
| CHROMADB_FILE_ID_NALAYIRAM=<your_db_file_id> | |
| CHROMADB_FILE_ID_SANSKRIT_001=<your_db_file_id> | |
| CHROMADB_FILE_ID=<your_db_file_id> | |
| DROPBOX_API_KEY=<your_key> | |
| DROPBOX_API_SECRET=<your_secret> | |
| DROPBOX_ACCESS_TOKEN=<your_token> | |
| ``` | |
| ### Start Web Server | |
| - Run the following command from project root | |
| > `uv run ./main.py` | |
| ### Automated AI Evaluator | |
| - Tests are defined in tests/test_config.py | |
| - Run the following command from project root to execute the tests. | |
| > `uv run -m tests.test_evaluator` | |
| - Test Logs are generated under `{project-root}/outputs/tests` folder as neatly formatted md files. |