Skip to content

Programmatically fill in annoying intake forms with data dumps or knowledge base

License

Notifications You must be signed in to change notification settings

petercsiba/gpt-form-filler

Repository files navigation

gpt-form-filler

Programmatically fill in annoying intake forms with data dumps or knowledge base

Motivation

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.

How it works

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

Implementations

It was previously used to:

Current State: WIP

I wanted to re-use and opensource these utils so for now just shamelessly copy pasted from my private repo.

Features:

  • 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)

Installation

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

Example Usage

See the examples/ directory.

Contributing

Local Development

make requirements
pre-commit install

Run tests

pip install -e .  # needed only once?
pytest

About

Programmatically fill in annoying intake forms with data dumps or knowledge base

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published