AxAIChromeAIChatRequest
type AxAIChromeAIChatRequest = object;Defined in: https://github.com/ax-llm/ax/blob/3d5aa8dac28a2637e4150f022dcd02e6fc3309f0/src/ax/ai/chrome-ai/types.ts#L95
Chrome AI: Synthetic chat request Maps ax’s multi-message format to Chrome AI’s session + prompt model
Properties
initialPrompts
initialPrompts: object[];Defined in: https://github.com/ax-llm/ax/blob/3d5aa8dac28a2637e4150f022dcd02e6fc3309f0/src/ax/ai/chrome-ai/types.ts#L98
Messages to be passed as initialPrompts (all except the last user message)
content
content: string;role
role: "system" | "user" | "assistant";model
model: AxAIChromeAIModelId;Defined in: https://github.com/ax-llm/ax/blob/3d5aa8dac28a2637e4150f022dcd02e6fc3309f0/src/ax/ai/chrome-ai/types.ts#L96
prompt
prompt: string;Defined in: https://github.com/ax-llm/ax/blob/3d5aa8dac28a2637e4150f022dcd02e6fc3309f0/src/ax/ai/chrome-ai/types.ts#L103
The final user message to be passed to session.prompt()
responseConstraint?
optional responseConstraint: object;Defined in: https://github.com/ax-llm/ax/blob/3d5aa8dac28a2637e4150f022dcd02e6fc3309f0/src/ax/ai/chrome-ai/types.ts#L105
JSON schema for constrained decoding via responseConstraint
stream?
optional stream: boolean;Defined in: https://github.com/ax-llm/ax/blob/3d5aa8dac28a2637e4150f022dcd02e6fc3309f0/src/ax/ai/chrome-ai/types.ts#L108
temperature?
optional temperature: number;Defined in: https://github.com/ax-llm/ax/blob/3d5aa8dac28a2637e4150f022dcd02e6fc3309f0/src/ax/ai/chrome-ai/types.ts#L106
topK?
optional topK: number;Defined in: https://github.com/ax-llm/ax/blob/3d5aa8dac28a2637e4150f022dcd02e6fc3309f0/src/ax/ai/chrome-ai/types.ts#L107