DialogServiceConnector Class

Inheritance
builtins.object
DialogServiceConnector

Constructor

DialogServiceConnector(*args, **kwargs)

Methods

connect_async
disconnect_async
get_authorization_token
get_speech_activity_template
listen_once_async
send_activity_async
set_authorization_token
set_speech_activity_template
start_keyword_recognition_async
stop_keyword_recognition_async
stop_listening_async

connect_async

connect_async()

disconnect_async

disconnect_async()

get_authorization_token

get_authorization_token()

get_speech_activity_template

get_speech_activity_template()

listen_once_async

listen_once_async()

send_activity_async

send_activity_async(activity)

Parameters

activity
Required

set_authorization_token

set_authorization_token(token)

Parameters

token
Required

set_speech_activity_template

set_speech_activity_template(activityTemplate)

Parameters

activityTemplate
Required

start_keyword_recognition_async

start_keyword_recognition_async(model)

Parameters

model
Required

stop_keyword_recognition_async

stop_keyword_recognition_async()

stop_listening_async

stop_listening_async()

Attributes

activity_received

canceled

properties

recognized

recognizing

session_started

session_stopped

speech_end_detected

speech_start_detected

turn_status_received