Method Request
Request(String, String, Action<NLPResponse>, String)
Requests Custom QnA NLP response based on provided user input.
Declaration
public async void Request(string uri, string question, Action<NLPResponse> onComplete, string data = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | uri | URL to send request to |
System.String | question | User input question |
Action<NLPResponse> | onComplete | Delegate to execute on successful request, typically parses JSON response |
System.String | data |