API reference
API reference
Select your platform
No SDKs available
No versions available

VoiceServiceRequestOptions Class

Meta::WitAi::Requests::VoiceServiceRequestOptions extends Meta.Voice.INLPRequestOptions.

Overview

Properties

string
Unique request id used for request tracking internally & externally
Dictionary< string, string >
Additional request query parameters to be sent with the request
The input type to be used for VoiceServiceRequests
string
Text[Get]
The text to be submitted for a text request
float
The threshold to be used for an audio request

Public Member Functions

VoiceServiceRequestOptions
( params QueryParam [] newParams )
Setup with a randomly generated guid
VoiceServiceRequestOptions
( string newRequestId,
params QueryParam [] newParams )
Setup with a specific guid

Object Data

string
Generates a random guid

Static Public Member Functions

static Dictionary< string, string >
ConvertQueryParams
( QueryParam [] newParams )
Generates a dictionary of key/value strings from a query param array

Details

Properties

string Meta.WitAi.Requests.VoiceServiceRequestOptions.RequestId
Unique request id used for request tracking internally & externally
Dictionary<string, string> Meta.WitAi.Requests.VoiceServiceRequestOptions.QueryParams
Additional request query parameters to be sent with the request
NLPRequestInputType Meta.WitAi.Requests.VoiceServiceRequestOptions.InputType
The input type to be used for VoiceServiceRequests
string Meta.WitAi.Requests.VoiceServiceRequestOptions.Text
The text to be submitted for a text request
float Meta.WitAi.Requests.VoiceServiceRequestOptions.AudioThreshold
The threshold to be used for an audio request

Member Functions

Meta.WitAi.Requests.VoiceServiceRequestOptions.VoiceServiceRequestOptions
( params QueryParam [] newParams )
Setup with a randomly generated guid
Meta.WitAi.Requests.VoiceServiceRequestOptions.VoiceServiceRequestOptions
( string newRequestId,
params QueryParam [] newParams )
Setup with a specific guid

Object Data

virtual string Meta.WitAi.Requests.VoiceServiceRequestOptions.GetUniqueRequestId ( )
Generates a random guid

Static Member Functions

static Dictionary<string, string> Meta.WitAi.Requests.VoiceServiceRequestOptions.ConvertQueryParams
( QueryParam [] newParams )
Generates a dictionary of key/value strings from a query param array
Did you find this page helpful?
Thumbs up icon
Thumbs down icon