Partilhar via


EmbeddingInputType Struct

Definition

Represents the input types used for embedding search.

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

Constructors

EmbeddingInputType(String)

Initializes a new instance of EmbeddingInputType.

Properties

Document

Indicates the input represents a document that is stored in a vector database.

Query

Indicates the input represents a search query to find the most relevant documents in your vector database.

Text

Indicates the input is a general text input.

Methods

Equals(EmbeddingInputType)

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(EmbeddingInputType, EmbeddingInputType)

Determines if two EmbeddingInputType values are the same.

Implicit(String to EmbeddingInputType)

Converts a String to a EmbeddingInputType.

Inequality(EmbeddingInputType, EmbeddingInputType)

Determines if two EmbeddingInputType values are not the same.

Applies to