Compartilhar via


ChatMessageImageDetailLevel Struct

Definition

A representation of the possible image detail levels for image-based chat completions message content.

public readonly struct ChatMessageImageDetailLevel : IEquatable<Azure.AI.Inference.ChatMessageImageDetailLevel>
type ChatMessageImageDetailLevel = struct
Public Structure ChatMessageImageDetailLevel
Implements IEquatable(Of ChatMessageImageDetailLevel)
Inheritance
ChatMessageImageDetailLevel
Implements

Constructors

ChatMessageImageDetailLevel(String)

Initializes a new instance of ChatMessageImageDetailLevel.

Properties

Auto

Specifies that the model should determine which detail level to apply using heuristics like image size.

High

Specifies that image evaluation should enable the 'high-res' model that may be more accurate for highly detailed images but may also be slower and consume more tokens.

Low

Specifies that image evaluation should be constrained to the 'low-res' model that may be faster and consume fewer tokens but may also be less accurate for highly detailed images.

Methods

Equals(ChatMessageImageDetailLevel)

Indicates whether the current object is equal to another object of the same type.

ToString()

Returns the fully qualified type name of this instance.

Operators

Equality(ChatMessageImageDetailLevel, ChatMessageImageDetailLevel)

Determines if two ChatMessageImageDetailLevel values are the same.

Implicit(String to ChatMessageImageDetailLevel)

Converts a String to a ChatMessageImageDetailLevel.

Inequality(ChatMessageImageDetailLevel, ChatMessageImageDetailLevel)

Determines if two ChatMessageImageDetailLevel values are not the same.

Applies to