The Google Form Filler (Gff) is a tool designed to automate the process of filling out Google Forms using context extracted from custom documents.
Gff is a smart assistant that knows exactly what to put in each field of the form, thanks to Google Gemini AI and learning from documents you provide.
- Automatic Form Filling: Fill out Google Forms automatically using context extracted from documents.
- Google Gemini AI Integration: Leverage the power of AI to understand and fill forms accurately.
- Interactive Prompts: Get prompted for additional context when necessary, ensuring comprehensive form filling.
- Multiple Field Types Support: Short Text, Paragraph, Multiple Choice, Checkbox, List of Choices, Scale, Grid, Date, and Time.
Before you begin, ensure you have met the following requirements:
- Python 3.9 or higher
- Obtain API key by following the Google AI Quickstart Guide.
- Add GOOGLE_API_KEY to environment variables
- Install the required Python packages:
pip install -r requirements.txt
- Add Documents to context (Optional):
To add context from a document or a directory of documents, use the --doc-add
flag:
python gff.py --doc-add path/to/your/document_or_directory
- Fill a Google Form:
Simply run the tool and follow the interactive prompts:
python gff.py
The --copilot
flag prompts users for additional input when the tool needs more context to accurately fill out a Google Form. This ensures higher accuracy and completeness in form submissions.
python gff.py --copilot
- To enable debug mode for additional logs, use the
--debug
flag.
Watch our demo video to see how it works.
Use the link below to access an example form featured in the demo video: