IMachineLearningServiceNaturalLanguageQueryAsync Method |
Query the machine learning engine using natural language.
Namespace:
Dundas.BI.MachineLearning
Assembly:
Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (24.3.0.1000)
Syntax Task<QueryResponse> NaturalLanguageQueryAsync(
string query,
QueryContext context
)
Function NaturalLanguageQueryAsync (
query As String,
context As QueryContext
) As Task(Of QueryResponse)
Task<QueryResponse^>^ NaturalLanguageQueryAsync(
String^ query,
QueryContext^ context
)
abstract NaturalLanguageQueryAsync :
query : string *
context : QueryContext -> Task<QueryResponse>
Parameters
- query
- Type: SystemString
The natural language query. - context
- Type: Dundas.BI.MachineLearningQueryContext
The context of the query.
Return Value
Type:
TaskQueryResponseA response from the machine learning engine. Null if there is an error.
See Also