An open API service indexing awesome lists of open source software.

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

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 vn

print(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