CitationMetadata

一段内容的来源提供方说明集合。

JSON 表示法
{
  "citationSources": [
    {
      object (CitationSource)
    }
  ]
}
字段
citationSources[]

object (CitationSource)

特定回复对来源的引用。

CitationSource

对特定回复中某一部分的引用来源。

JSON 表示法
{
  "startIndex": integer,
  "endIndex": integer,
  "uri": string,
  "license": string
}
字段
startIndex

integer

可选。归因于此来源的响应细分的起点。

索引指示片段的起始位置(以字节为单位)。

endIndex

integer

可选。归因细分的结束(不含边界值)。

uri

string

可选。归因于部分文本来源的 URI。

license

string

可选。归因于细分来源的 GitHub 项目许可。

引用代码时必须提供许可信息。