Stay Hungry,Stay Foolish!

VANNA -- A demo of Vanna.AI using OpenAI LLM, Chroma DB and PostgreSQL

A demo of Vanna.AI using OpenAI LLM, Chroma DB and PostgreSQL

https://github.com/fanqingsong/vanna-ai-demo

 

VANNA.AI DEMO

A demo of Vanna.AI using OpenAI LLM, Chroma DB and PostgreSQL

Prerequisites

  1. You have Docker, Python and Poetry installed.
  2. You have an an OpenAI API key.

Getting started

Install dependencies

poetry install
 

Rename .env.example to .env and add your OpenAI API key.

Run docker compose: 

docker-compose up
 

The docker compose file should start the Postgres server, create a database called dvdrental and load data into it (see init.sh file).

More information regarding the dvdrental database can be found here.

Start the UI app: 

poetry run python main.py
 

Open http://localhost:8084 

 

posted @ 2025-03-12 09:26  lightsong  阅读(82)  评论(0)    收藏  举报
千山鸟飞绝,万径人踪灭