Skip to content

cocoindex-io/patient-intake-extraction

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

python main.py cocoindex setup

Update index:

python main.py cocoindex update

Run query:

python main.py

Run with CocoInsight:

python3 main.py cocoindex server -c https://cocoindex.io

View results at https://cocoindex.io/cocoinsight