Skip to content

Latest commit

 

History

History
47 lines (31 loc) · 1.2 KB

File metadata and controls

47 lines (31 loc) · 1.2 KB

Structured Data From Patient Intake Forms

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

Prerequisite

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"

Run

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