Skip to content

@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? ​

optional images?: 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? ​

optional outputSchema?: 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? ​

optional system?: string

Defined in: manager/index.ts:39

Optional system instruction.


timeoutMs? ​

optional timeoutMs?: number

Defined in: manager/index.ts:45

Timeout in milliseconds, default 45 s, at most 300 s.