Programmatically fill in annoying intake forms with data dumps or knowledge base
Repeated Manual Data Entry is not what humans like to do.
What if you can update your CRM or fill in large intakes just from a voice note or a data dump? This tool is an opinionated attempt on solving this niche problem.
It is a bit like Guardrails.ai, or one of the many Chrome/Firefox/Safari auto-fill options, just addressing a more specific use case when:
- You usually have at least one page of data
- You might want to fill in multiple entries at once (e.g. all your notes from a day)
- The form is somewhat specific / needs to be created programmatically
It was previously used to:
- Meeting Notes to Hubspot API Contact Intake: preview - requires HubSpot account
- Push rows into Google Sheets API based of the sheet header.
I wanted to re-use and opensource these utils so for now just shamelessly copy pasted from my private repo.
- Caching GPT request, useful for re-runs
- TODO: Better DevX for the form object
- TODO: Use JSON mode for OpenAI (this was written before it came out so there is custom monkeypatched code)
Install GPT Form Filler Python Library using pip:
# A blunder of my I named the repo `gpt-form-filler` while package is `gpt_form_filler` - sorry.
pip install git+https://github.com/petercsiba/gpt-form-filler.git
See the examples/
directory.
make requirements
pre-commit install
pip install -e . # needed only once?
pytest