Slide 41
Slide 41 text
Android
AIConfiguration config = new AIConfiguration(
DIALOG_FLOW_TOKEN,
ai.api.AIConfiguration.SupportedLanguages.English,
AIConfiguration.RecognitionEngine.System
);
aiDataService = new AIDataService(application, config);
AIRequest aiRequest = new AIRequest();
aiRequest.setQuery(recognizedText);
aiRequest.setResetContexts(resetContext);
AIResponse response = aiDataService.request(aiRequest);
Dialogflowの使い方