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

MessageDeltaTextUriCitationAnnotation 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 MessageDeltaTextUriCitationAnnotation : Azure.AI.Agents.Persistent.MessageDeltaTextAnnotation, System.ClientModel.Primitives.IJsonModel<Azure.AI.Agents.Persistent.MessageDeltaTextUriCitationAnnotation>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.Agents.Persistent.MessageDeltaTextUriCitationAnnotation>
type MessageDeltaTextUriCitationAnnotation = class
    inherit MessageDeltaTextAnnotation
    interface IJsonModel<MessageDeltaTextUriCitationAnnotation>
    interface IPersistableModel<MessageDeltaTextUriCitationAnnotation>
Public Class MessageDeltaTextUriCitationAnnotation
Inherits MessageDeltaTextAnnotation
Implements IJsonModel(Of MessageDeltaTextUriCitationAnnotation), IPersistableModel(Of MessageDeltaTextUriCitationAnnotation)
Inheritance
MessageDeltaTextUriCitationAnnotation
Implements

Fields

SerializedAdditionalRawData

Keeps track of any properties unknown to the library.

To assign an object to the value of this property use FromObjectAsJson<T>(T, JsonSerializerOptions).

To assign an already formatted json string to this property use FromString(String).

Examples:

  • BinaryData.FromObjectAsJson("foo"): Creates a payload of "foo".
  • BinaryData.FromString("\"foo\""): Creates a payload of "foo".
  • BinaryData.FromObjectAsJson(new { key = "value" }): Creates a payload of { "key": "value" }.
  • BinaryData.FromString("{\"key\": \"value\"}"): Creates a payload of { "key": "value" }.

(Inherited from MessageDeltaTextAnnotation)

Properties

EndIndex

The last text index associated with this text annotation.

Index

The index of the annotation within a text content part.

(Inherited from MessageDeltaTextAnnotation)
StartIndex

The first text index associated with this text annotation.

UriCitation

The details of the URL citation.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<MessageDeltaTextAnnotation>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

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

Writes the model to the provided Utf8JsonWriter.

(Inherited from MessageDeltaTextAnnotation)
IJsonModel<MessageDeltaTextUriCitationAnnotation>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<MessageDeltaTextUriCitationAnnotation>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<MessageDeltaTextAnnotation>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

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

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

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

Writes the model into a BinaryData.

(Inherited from MessageDeltaTextAnnotation)
IPersistableModel<MessageDeltaTextUriCitationAnnotation>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<MessageDeltaTextUriCitationAnnotation>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<MessageDeltaTextUriCitationAnnotation>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to