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.pyUpdate index:
cocoindex update main.pyRun query:
python main.pyRun with CocoInsight:
cocoindex server -ci main.pyView results at https://cocoindex.io/cocoinsight
