Lingua

EmbeddingWarning Class

Definition

Something about a successful multimodal embedding response the caller should know.

public class EmbeddingWarning : System.ClientModel.Primitives.IJsonModel<Azure.Data.AI.EmbeddingWarning>, System.ClientModel.Primitives.IPersistableModel<Azure.Data.AI.EmbeddingWarning>
type EmbeddingWarning = class
    interface IJsonModel<EmbeddingWarning>
    interface IPersistableModel<EmbeddingWarning>
Public Class EmbeddingWarning
Implements IJsonModel(Of EmbeddingWarning), IPersistableModel(Of EmbeddingWarning)
Inheritance
EmbeddingWarning
Implements

Properties

Name Description
Code

A machine-readable warning code.

CodeNumber

A stable numeric alias of code: 1001 for EMBEDDING_INPUT_TRUNCATED, 1002 for EMBEDDING_SAS_LONG_LIVED.

Index

The zero-based position of the item the warning is about, in inputs and data.

InputTokens

For EMBEDDING_INPUT_TRUNCATED: the item's tokens before truncation.

Message

A human-readable description that names the item, for example inputs[1].

Tokens

For EMBEDDING_INPUT_TRUNCATED: the tokens embedded.

Methods

Name Description
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<EmbeddingWarning>.Create(Utf8JsonReader, ModelReaderWriterOptions)
IJsonModel<EmbeddingWarning>.Write(Utf8JsonWriter, ModelReaderWriterOptions)
IPersistableModel<EmbeddingWarning>.Create(BinaryData, ModelReaderWriterOptions)
IPersistableModel<EmbeddingWarning>.GetFormatFromOptions(ModelReaderWriterOptions)
IPersistableModel<EmbeddingWarning>.Write(ModelReaderWriterOptions)

Applies to