dialogflow-android-client
dialogflow-android-client copied to clipboard
AIRequest and AIResponse files are missing in the SDK
I'm trying to send the text(Voice text) using following code in in the SDK .
final AIConfiguration config = new AIConfiguration(ACCESS_TOKEN, AIConfiguration.SupportedLanguages.English, AIConfiguration.RecognitionEngine.System);
final AIDataService aiDataService = new AIDataService(config); final AIRequest aiRequest = new AIRequest(); aiRequest.setQuery("Hello");
But AIRequest,AIResponse files are not available in the "ai.api:sdk:2.0.7@aar" . I think ai.api.model.AIRequest; and ai.api.model.AIResponse packages are missing in the SDK. So Please help me to write the AIRequest to perform network operation.
And, I'm getting 'Cannot resolve symbol 'SupportedLanguage' error in compile time.
That is because they are the part ai.api:libai:1.6.12, add that dependency also, this will clear the problem.