Sichern Sie einen Dialogflow -Agenten und speichern Sie ihn in GitHub
Posted: 16 Apr 2025, 09:33
Ich arbeite an einem Projekt, bei dem wir eine Exportsicherung unserer Dialogflow -CX -Agenten an Github -Repositories planen können, damit wir Wiederherstellungspunkte haben können, wenn unsere Agenten jemals gelöscht werden. Durch die Verwendung der Dialogflow CX-Projekt-ID und der Agent-ID kann ich alle erforderlichen Daten davon abrufen.private final AgentService agentService;
Agent currentAgent = agentService.findDistinctByProjectIdAndAgentId(projectId,
UUID.fromString(agentId));
< /code>
Jetzt ist der knifflige Teil darin, die GitHub -Integration zum Laufen zu bringen. My current goals are the following
Agent currentAgent = agentService.findDistinctByProjectIdAndAgentId(projectId,
UUID.fromString(agentId));
< /code>
Jetzt ist der knifflige Teil darin, die GitHub -Integration zum Laufen zu bringen. My current goals are the following
- Figure out if there's a way to set up Git integration on an agent through Java if it hasn't been set up before
- When I have a back up I want, from Java, push the backup through the Dialogflow CX built in Git integration Push through Google Cloud Visual Aid