Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/bayeru/chat-to-your-database

Chat to your database with AI. An experimental app to test the abilities of LLMs to query SQL databases using natural language.
https://github.com/bayeru/chat-to-your-database

chatgpt chatgpt-app database langchain langchain-typescript llm llms mysql natural-language-processing nlp openai postgres sql sqlite

Last synced: about 1 month ago
JSON representation

Chat to your database with AI. An experimental app to test the abilities of LLMs to query SQL databases using natural language.

Awesome Lists containing this project

README

        

# Chat to your database

This is an experimental app to test the abilities of LLMs to query SQL databases using natural language.
To use it, you should add your OPENAI_API_KEY to the .env.local file.

## Installing the app

```bash!
npm install
```

## Running the app

```bash
npm run dev
```

## Sample database
![Sample northwind database](https://user-images.githubusercontent.com/1945179/233065892-25edda54-01a2-467d-8a72-b96a30c71a5a.png)

## See it in action
https://user-images.githubusercontent.com/1945179/233063701-9c025c4a-5016-4d79-b842-62540359e033.mp4

https://user-images.githubusercontent.com/1945179/233066403-a83af003-d02a-4ce1-9192-8737e4524d44.mp4