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.
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.