Skip to content

cocoindex-io/cocoindex-quickstart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CocoIndex

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 🥥🤗. GitHub

Video tutorial with detailed explanation: Cocoindex Quickstart Video Guide

Prerequisite

  • Install Postgres if you don't have one.

  • Install CocoIndex and other dependencies:

pip install -U "cocoindex[embeddings]" "psycopg[binary,pool]" pgvector
  • Make sure you have specify the database URL by environment variable:
export COCOINDEX_DATABASE_URL="postgresql://cocoindex:cocoindex@localhost:5432/cocoindex"

Run

Update index:

cocoindex update --setup quickstart.py

Run query:

python quickstart.py

About

Get started with CocoIndex now 🥥

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages