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

MessageTextUriCitationAnnotation Class

Definition

A citation within the message that points to a specific URL associated with the message. Generated when the agent uses tools such as 'bing_grounding' to search the Internet.

public class MessageTextUriCitationAnnotation : Azure.AI.Agents.Persistent.MessageTextAnnotation, System.ClientModel.Primitives.IJsonModel<Azure.AI.Agents.Persistent.MessageTextUriCitationAnnotation>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.Agents.Persistent.MessageTextUriCitationAnnotation>
type MessageTextUriCitationAnnotation = class
    inherit MessageTextAnnotation
    interface IJsonModel<MessageTextUriCitationAnnotation>
    interface IPersistableModel<MessageTextUriCitationAnnotation>
Public Class MessageTextUriCitationAnnotation
Inherits MessageTextAnnotation
Implements IJsonModel(Of MessageTextUriCitationAnnotation), IPersistableModel(Of MessageTextUriCitationAnnotation)
Inheritance
MessageTextUriCitationAnnotation
Implements

Properties

EndIndex

The last text index associated with this text annotation.

StartIndex

The first text index associated with this text annotation.

Text

The textual content associated with this text annotation item.

(Inherited from MessageTextAnnotation)
UriCitation

The details of the URL citation.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<MessageTextAnnotation>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

(Inherited from MessageTextAnnotation)
IJsonModel<MessageTextAnnotation>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from MessageTextAnnotation)
IJsonModel<MessageTextUriCitationAnnotation>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<MessageTextUriCitationAnnotation>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<MessageTextAnnotation>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from MessageTextAnnotation)
IPersistableModel<MessageTextAnnotation>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

(Inherited from MessageTextAnnotation)
IPersistableModel<MessageTextAnnotation>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from MessageTextAnnotation)
IPersistableModel<MessageTextUriCitationAnnotation>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<MessageTextUriCitationAnnotation>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<MessageTextUriCitationAnnotation>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to