Quickstart demo following the Cocoindex Quickstart guide. Super easy to get your RAG data pipeline running in ~50 lines of python π.
β Please give Cocoindex on Github a star to support us if you like our work. Thank you so much with a warm coconut hug π₯₯π€.
Video tutorial with detailed explanation: Cocoindex Quickstart Video Guide
-
Install Postgres if you don't have one.
-
Install CocoIndex
pip install -U cocoindex
- Make sure you have specify the database URL by environment variable:
export COCOINDEX_DATABASE_URL="postgresql://cocoindex:cocoindex@localhost:5432/cocoindex"
Setup index:
python quickstart.py cocoindex setup
Update index:
python quickstart.py cocoindex update
Run query:
python quickstart.py