/** * @example * { * appid: "appid", * agentId: "agentId", * properties: { * token: "007eJxTYxxxxxxxxxxIaHMLAAAA0ex66", * llm: { * system_messages: [{ * "role": "system", * "content": "You are a helpful assistant. xxx" * }, { * "role": "system", * "content": "Previously, user has talked about their favorite hobbies with some key topics: xxx" * }], * params: { * "model": "abab6.5s-chat", * "max_token": 1024 * } * } * } * } */ export interface UpdateAgentsRequest { /** The App ID of the project. */ appid: string; /** The agent instance ID you obtained after successfully calling `join` to start a conversational AI agent. */ agentId: string; /** Configuration properties to update. */ properties?: UpdateAgentsRequest.Properties; } export declare namespace UpdateAgentsRequest { /** * Configuration properties to update. */ interface Properties { /** The authentication token used by the agent to join the channel. */ token?: string; /** Large Language Model (LLM) settings. */ llm?: Properties.Llm; /** Multimodal Large Language Model (MLLM) configuration for real-time audio and text processing. */ mllm?: Properties.Mllm; } namespace Properties { /** * Large Language Model (LLM) settings. */ interface Llm { /** A set of predefined messages appended to the beginning of each LLM request. These messages help control the LLM's output and can include role definitions, prompts, response examples, and more. This field must be compatible with the OpenAI protocol. */ system_messages?: Record[]; /** Additional LLM information included in the message body, such as the model used, the maximum number of tokens, and more. Supported configurations vary by LLM provider. Refer to the provider's documentation for details. Updating this field overwrites the configuration set when the agent was created. When updating, make sure to pass the complete `params` field. */ params?: Record; } /** * Multimodal Large Language Model (MLLM) configuration for real-time audio and text processing. */ interface Mllm { /** Additional MLLM configuration parameters. See [MLLM Overview](https://docs.agora.io/en/conversational-ai/models/mllm/overview) for details. */ params?: Record; } } }