内容部分接口(如果部分表示文本字符串)。
签名:
export interface TextPart
属性
属性 | 类型 | 说明 |
---|---|---|
functionCall | 永不 | |
函数响应 | 永不 | |
inlineData | 永不 | |
文本 | 字符串 |
TextPart.functionCall
签名:
functionCall?: never;
TextPart.functionResponse
签名:
functionResponse?: never;
TextPart.inlineData
签名:
inlineData?: never;
TextPart.text
签名:
text: string;