你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

MessageTextFileCitationAnnotation interface

消息中的引文,该引文指向与代理或消息关联的特定文件中的特定引文。 代理使用“file_search”工具搜索文件时生成。

扩展

属性

endIndex

与此文本批注关联的最后一个文本索引。

fileCitation

指向特定文件中的特定引号的消息中的引文。 代理使用“file_search”工具搜索文件时生成。

startIndex

与此文本批注关联的第一个文本索引。

type

对象类型,始终为“file_citation”。

继承属性

text

与此文本批注项关联的文本内容。

属性详细信息

endIndex

与此文本批注关联的最后一个文本索引。

endIndex?: number

属性值

number

fileCitation

指向特定文件中的特定引号的消息中的引文。 代理使用“file_search”工具搜索文件时生成。

fileCitation: MessageTextFileCitationDetails

属性值

startIndex

与此文本批注关联的第一个文本索引。

startIndex?: number

属性值

number

type

对象类型,始终为“file_citation”。

type: "file_citation"

属性值

"file_citation"

继承属性详细信息

text

与此文本批注项关联的文本内容。

text: string

属性值

string

继承自MessageTextAnnotation.text