A Sandcastle Documented Class Library

# MachineLearningController NaturalLanguageQuery Method

POST /MachineLearning/NaturalLanguageQuery/ Query the engine with natural language.

Namespace: Dundas.BI.WebApi.Controllers
Assembly: Dundas.BI.WebApi (in Dundas.BI.WebApi.dll) Version: 2.0.0.0 (10.0.0.1002)
Syntax
C#
VB
C++
F#
Copy

    [HttpPostAttribute]
    [ActionNameAttribute("NaturalLanguageQuery")]
    public IActionResult NaturalLanguageQuery(
    	[FromBodyAttribute] QueryContextData queryContextData,
    	Guid? sessionId = null
    )

    <HttpPostAttribute>
    <ActionNameAttribute("NaturalLanguageQuery")>
    Public Function NaturalLanguageQuery (
    	<FromBodyAttribute> queryContextData As QueryContextData,
    	Optional sessionId As Guid? = Nothing
    ) As IActionResult

    public:
    [HttpPostAttribute]
    [ActionNameAttribute(L"NaturalLanguageQuery")]
    IActionResult^ NaturalLanguageQuery(
    	[FromBodyAttribute] QueryContextData^ queryContextData,
    	Nullable<Guid> sessionId = nullptr
    )

    [<HttpPostAttribute>]
    [<ActionNameAttribute("NaturalLanguageQuery")>]
    member NaturalLanguageQuery :
            [<FromBodyAttribute>] queryContextData : QueryContextData *
            ?sessionId : Nullable<Guid>
    (* Defaults:
            let _sessionId = defaultArg sessionId null
    *)
    -> IActionResult

#### Parameters

queryContextData
  Type: Dundas.BI.WebApi.Models
  QueryContextData
  The query context.
sessionId (Optional)
  Type: System
  Nullable
  Guid
  The session ID.

#### Return Value

Type: IActionResult
A QueryContextData response from the machine learning engine.
See Also

#### Reference

MachineLearningController Class
Dundas.BI.WebApi.Controllers Namespace