@camera.ui/sdk / manager / AssistantAskRequest
Interface: AssistantAskRequest ​
Defined in: manager/index.ts:35
One completion request to the assistant model the admin assigned to this plugin.
Properties ​
images? ​
optionalimages?:object[]
Defined in: manager/index.ts:41
Pictures for the request, sent only when the assigned model sees pictures.
data ​
data:
Uint8Array
mimeType ​
mimeType:
string
outputSchema? ​
optionaloutputSchema?:Record<string,unknown>
Defined in: manager/index.ts:43
JSON schema of the expected answer; the result then carries json.
prompt ​
prompt:
string
Defined in: manager/index.ts:37
The user message.
system? ​
optionalsystem?:string
Defined in: manager/index.ts:39
Optional system instruction.
timeoutMs? ​
optionaltimeoutMs?:number
Defined in: manager/index.ts:45
Timeout in milliseconds, default 45 s, at most 300 s.