-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Questions about CI/CD and Automated Conversation Testing #193
Comments
All of the Sample code is in the If you'd prefer to build a script yourself, the best starting points are from the DialogflowConversation class or the Sessions class. The former (DialogflowConverstaions) is a wrapper around Sessions to make it easier for handling multi-turn conversations programmatically.
This is 100% dependent on your setup, org structure, development capabilities, etc.
For CI/CD, the easiest approach is to utilize the Export / Restore features. The exact push/pull workflow depends on your development setup, but a general one is something like this:
Again, there can be many variations on this depending on your setup. To be clear, SCRAPI itself doesn't manage any of the Git functionality. You could also incorporate CRUD functions into this workflow as well, which many orgs do. I'll leave this issue open for a few days in case you have any questions. |
Documentation is unclear/incomplete
Have fully automated conversations with a CX agent (powerful for regression testing!)
The documentation suggests that this library has features which allow creation of automated conversations with your agent, but I could not find any description of how this might be done anywhere in the repo.
If this is referring to specific methods included in the library, an example should be written in a pynb file, or the documentation should be clarified that this requires using methods or approach from another library. What test approach is being suggested? A python script living somewhere in GCP that uses SCRAPI to create an agent, and then what?
Create, Update, Delete, Get, and List for all CX resources types (i.e. Intents, Entity Types, Pages, Flows, etc.)
Google's Cloud Skill Boost training claims that SCRAPI can help with CI/CD and release automation but this documentation says very little about that. https://www.cloudskillsboost.google/course_templates/1002/video/466428
It says we can integrate with Bitbucket, but there is no guide on how to do that, or what can be stored there. It seems Dialogflow CX itself only integrates with GitHub. Are we to understand that SCRAPI code can be stored in Bitbucket and then accessed from Cloud Run or another GCP service somehow? Only from the gcloud CLI? If we use SCRAPI, does this mean our agent must be rebuilt from python code each time it is deployed? Or can it work with an agent built in the UI and synced to GitHub?
The text was updated successfully, but these errors were encountered: