https://github.com/vanna-ai/vanna-chainlit
A chainlit app that you can use to chat with your SQL database
https://github.com/vanna-ai/vanna-chainlit
Last synced: 6 months ago
JSON representation
A chainlit app that you can use to chat with your SQL database
- Host: GitHub
- URL: https://github.com/vanna-ai/vanna-chainlit
- Owner: vanna-ai
- Created: 2024-01-12T15:49:53.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-12T15:59:06.000Z (almost 2 years ago)
- Last Synced: 2025-03-27T11:12:15.996Z (7 months ago)
- Language: Python
- Size: 2.93 KB
- Stars: 35
- Watchers: 3
- Forks: 12
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Chainlit + Vanna
Generate SQL using AI using RAG (Retrieval-Augmented Generation)
https://github.com/vanna-ai/vanna-chainlit/assets/7146154/54a0df5b-9d2a-490c-a76b-740c87600bfe
# Install
```bash
pip install vanna
pip install chainlit
```# Run
## Get a Vanna API Key
```python
import vanna as vnprint(vn.get_api_key('my-email@example.com'))
```Set this as the `VANNA_API_KEY` environment variable
## Start the User Interface
```bash
chainlit run app.py
```# Learn More About Configuring for your Database
https://github.com/vanna-ai/vanna