InteractRequest
ug-js-sdk / InteractRequest
Interface: InteractRequest
Defined in: types/index.ts:745
Extends
Request
Properties
type
type:
"request"|"stream"
Defined in: types/index.ts:498
Request type: 'request' for single response, 'stream' for streaming
Inherited from
Request.type
uid
uid:
string
Defined in: types/index.ts:502
Unique identifier for request/response correlation
Inherited from
Request.uid
client_start_time?
optionalclient_start_time:string
Defined in: types/index.ts:504
ISO timestamp when client sent the request
Inherited from
Request.client_start_time
server_start_time?
optionalserver_start_time:string
Defined in: types/index.ts:506
ISO timestamp when server started processing
Inherited from
Request.server_start_time
kind
kind:
"interact"
Defined in: types/index.ts:746
The kind of request (e.g., 'interact', 'authenticate')
Overrides
Request.kind
text?
optionaltext:string
Defined in: types/index.ts:747
speakers?
optionalspeakers:string[]
Defined in: types/index.ts:748
context?
optionalcontext:Record<string,any>
Defined in: types/index.ts:749
on_input_non_blocking?
optionalon_input_non_blocking:string[]
Defined in: types/index.ts:755
on_input?
optionalon_input:string[]
Defined in: types/index.ts:763
on_output?
optionalon_output:string[]
Defined in: types/index.ts:768
audio_output?
optionalaudio_output:boolean
Defined in: types/index.ts:769
language_code?
optionallanguage_code:string
Defined in: types/index.ts:770