This repo shows how to use OpenAI API to extract structured data from patient intake forms with different formats, like PDF, Docx, etc. from Google Drive.
❤️ Please give Cocoindex on Github a star ⭐ to support us if you like our work. Thank you so much with a warm coconut hug 🥥🤗.
-
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:
cocoindex setup main.py
Update index:
cocoindex update main.py
Run query:
python main.py
Run with CocoInsight:
cocoindex server -ci main.py
View results at https://cocoindex.io/cocoinsight