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
A demo of Vanna.AI using OpenAI LLM, Chroma DB and PostgreSQL
- You have Docker, Python and Poetry installed.
- You have an an OpenAI API key.
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 (seeinit.sh
file).More information regarding the
dvdrental
database can be found here.Start the UI app:
poetry run python main.py
出处:http://www.cnblogs.com/lightsong/
本文版权归作者和博客园共有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接。