Variable: AI
const AI: object;
The core AI interface. Use this to call AI features programatically.
Type declaration
chat()
chat: (messages, options) => Promise<void>;
Parameters
Parameter | Type |
---|---|
messages | ChatMessage [] |
options | ChatOptions |
const AI: object;
The core AI interface. Use this to call AI features programatically.
chat: (messages, options) => Promise<void>;
Parameter | Type |
---|---|
messages | ChatMessage [] |
options | ChatOptions |