Microsoft.Bot.Builder.Luis.LuisRequest Class Reference

Object that contains all the possible parameters to build Luis request. More...

Public Member Functions

 LuisRequest (string query, double?timezoneOffset=default(double?), string contextId=default(string), bool?verbose=default(bool?), string forceSet=default(string), string allowSampling=default(string))
 Constructs an instance of the LuisReqeuest. More...
 
Uri BuildUri (ILuisModel model)
 Build the Uri for issuing the request for the specified Luis model. More...
 

Public Attributes

readonly string AllowSampling
 Indicates if sampling is allowed. More...
 
readonly string ContextId
 The context id. More...
 
readonly string ForceSet
 Force setting the parameter. More...
 
readonly string Query
 The text query. More...
 
readonly double TimezoneOffset
 The time zone offset. More...
 
readonly bool Verbose
 The verbose flag. More...
 

Detailed Description

Object that contains all the possible parameters to build Luis request.

Definition at line 49 of file LuisService.cs.

Constructor & Destructor Documentation

Microsoft.Bot.Builder.Luis.LuisRequest.LuisRequest ( string  query,
double?  timezoneOffset = default(double?),
string  contextId = default(string),
bool?  verbose = default(bool?),
string  forceSet = default(string),
string  allowSampling = default(string) 
)
inline

Constructs an instance of the LuisReqeuest.

Parameters
queryThe text query.
timezoneOffsetThe time zone offset.
contextIdThe context id for Luis dialog.
verboseIndicates if the LuisResult should be verbose.
forceSetForce setting the parameter.
allowSamplingAllow sampling.

Definition at line 90 of file LuisService.cs.

Member Function Documentation

Uri Microsoft.Bot.Builder.Luis.LuisRequest.BuildUri ( ILuisModel  model)
inline

Build the Uri for issuing the request for the specified Luis model.

Parameters
modelThe Luis model.
Returns
The request Uri.

Definition at line 107 of file LuisService.cs.

Member Data Documentation

readonly string Microsoft.Bot.Builder.Luis.LuisRequest.AllowSampling

Indicates if sampling is allowed.

Definition at line 79 of file LuisService.cs.

readonly string Microsoft.Bot.Builder.Luis.LuisRequest.ContextId

The context id.

Definition at line 64 of file LuisService.cs.

readonly string Microsoft.Bot.Builder.Luis.LuisRequest.ForceSet

Force setting the parameter.

Definition at line 74 of file LuisService.cs.

readonly string Microsoft.Bot.Builder.Luis.LuisRequest.Query

The text query.

Definition at line 54 of file LuisService.cs.

readonly double Microsoft.Bot.Builder.Luis.LuisRequest.TimezoneOffset

The time zone offset.

Definition at line 59 of file LuisService.cs.

readonly bool Microsoft.Bot.Builder.Luis.LuisRequest.Verbose

The verbose flag.

Definition at line 69 of file LuisService.cs.


The documentation for this class was generated from the following file: