Поделиться через


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

UrlCitation

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<MessageDeltaTextUrlCitationAnnotation>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<MessageDeltaTextUrlCitationAnnotation>.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<MessageDeltaTextUrlCitationAnnotation>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<MessageDeltaTextUrlCitationAnnotation>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<MessageDeltaTextUrlCitationAnnotation>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to