Message
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
结构化文本的基本单位。
Message
包含 author
和 Message
的 content
。
author
用于在消息以文本形式馈送到模型时标记消息。
JSON 表示法 |
{
"author": string,
"content": string,
"citationMetadata": {
object (CitationMetadata )
}
} |
字段 |
author |
string
可选。此消息的作者。 当此消息作为文本馈送给模型时,该键用作标记其内容。 作者可以是任何字母数字字符串。
|
content |
string
必需。结构化 Message 的文本内容。
|
citationMetadata |
object (CitationMetadata )
仅供输出。此 Message 中模型生成的 content 的引用信息。 如果此 Message 是作为模型的输出生成的,则此字段可能会填充 content 中包含的任何文本的归因信息。此字段仅用于输出。
|
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-04-19。
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"没有我需要的信息"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"太复杂/步骤太多"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"内容需要更新"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"翻译问题"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"示例/代码问题"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"其他"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"易于理解"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"解决了我的问题"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"其他"
}]