InteractRequest
ug-js-sdk / InteractRequest
Interface: InteractRequest
Defined in: types/index.ts:698
Extends
Request
Properties
type
type:
"request"|"stream"
Defined in: types/index.ts:455
Request type: 'request' for single response, 'stream' for streaming
Inherited from
Request.type
uid
uid:
string
Defined in: types/index.ts:459
Unique identifier for request/response correlation
Inherited from
Request.uid
client_start_time?
optionalclient_start_time:string
Defined in: types/index.ts:461
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:463
ISO timestamp when server started processing
Inherited from
Request.server_start_time
kind
kind:
"interact"
Defined in: types/index.ts:699
The kind of request (e.g., 'interact', 'authenticate')
Overrides
Request.kind
text?
optionaltext:string
Defined in: types/index.ts:700
speakers?
optionalspeakers:string[]
Defined in: types/index.ts:701
context?
optionalcontext:Record<string,any>
Defined in: types/index.ts:702
on_input_non_blocking?
optionalon_input_non_blocking:string[]
Defined in: types/index.ts:708
on_input?
optionalon_input:string[]
Defined in: types/index.ts:716
on_output?
optionalon_output:string[]
Defined in: types/index.ts:721
audio_output?
optionalaudio_output:boolean
Defined in: types/index.ts:722
language_code?
optionallanguage_code:string
Defined in: types/index.ts:723