Dialogflow AutoTrainer
An automated MLOps pipeline built to execute continuous train-test-evaluate cycles on NLU models.
The Automated Lifecycle
Engineered a central orchestrator (main.py) that loops through isolated train.py, test.py, and evaluate.py modules. It continuously parses CSV datasets, trains the agent, tests utterances, and calculates accuracy until strict thresholds are met.
GCP & API Abstraction
Built a dedicated dfconnector.py layer to handle Google Cloud Service Account authentication and directly interface with the Dialogflow API, pushing intents and triggering remote training jobs without manual UI intervention.
Heuristic Evaluation
The pipeline doesn't just train; it validates. By systematically running test utterance files through the freshly trained model, the evaluation logic parses confidence scores and intent mappings to mathematically decide if another training epoch is required.