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


MessageInputImageUrlBlock Class

Definition

An image-URL block in a new message, referencing an external image by URL.

public class MessageInputImageUrlBlock : Azure.AI.Projects.MessageInputContentBlock, System.ClientModel.Primitives.IJsonModel<Azure.AI.Projects.MessageInputImageUrlBlock>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.Projects.MessageInputImageUrlBlock>
type MessageInputImageUrlBlock = class
    inherit MessageInputContentBlock
    interface IJsonModel<MessageInputImageUrlBlock>
    interface IPersistableModel<MessageInputImageUrlBlock>
Public Class MessageInputImageUrlBlock
Inherits MessageInputContentBlock
Implements IJsonModel(Of MessageInputImageUrlBlock), IPersistableModel(Of MessageInputImageUrlBlock)
Inheritance
MessageInputImageUrlBlock
Implements

Constructors

MessageInputImageUrlBlock(MessageImageUrlParam)

Initializes a new instance of MessageInputImageUrlBlock.

Properties

ImageUrl

Information about the external image URL, including the URL and optional detail level.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<MessageInputContentBlock>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

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

Writes the model to the provided Utf8JsonWriter.

(Inherited from MessageInputContentBlock)
IJsonModel<MessageInputImageUrlBlock>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<MessageInputImageUrlBlock>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<MessageInputContentBlock>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

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

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

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

Writes the model into a BinaryData.

(Inherited from MessageInputContentBlock)
IPersistableModel<MessageInputImageUrlBlock>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<MessageInputImageUrlBlock>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<MessageInputImageUrlBlock>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to