public Observable<LuisResult> resolveAsync(String appId, String query, ResolveOptionalParameter resolveOptionalParameter) {
        return resolveWithServiceResponseAsync(appId, query, resolveOptionalParameter).map(new Func1<ServiceResponse<LuisResult>, LuisResult>() {
            @Override
            public LuisResult call(ServiceResponse<LuisResult> response) {
                return response.body();
            }
        });
    }
public Observable < LuisResult > resolveAsync ( String appId , String query , ResolveOptionalParameter resolveOptionalParameter ) { return resolveWithServiceResponseAsync ( appId , query , resolveOptionalParameter ) . map ( new Func1 < ServiceResponse < LuisResult > , LuisResult > ( ) { @ Override public LuisResult call ( ServiceResponse < LuisResult > response ) { return response . body ( ) ; } } ) ; }
Gets predictions for a given utterance, in the form of intents and entities. The current maximum query size is 500 characters.

@param appId The LUIS application ID (Guid).
@param query The utterance to predict.
@param resolveOptionalParameter the object representing the optional parameters to be set before calling this API
@throws IllegalArgumentException thrown if parameters fail the validation
@return the observable to the LuisResult object