EmbeddingUsage Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Common usage for an embedding operation. Token counts are omitted when the model doesn't report them. Please note this is the abstract base class. The derived classes available for instantiation are: MultimodalEmbeddingUsage.
[System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.Data.AI.UnknownEmbeddingUsage))]
public abstract class EmbeddingUsage : System.ClientModel.Primitives.IJsonModel<Azure.Data.AI.EmbeddingUsage>, System.ClientModel.Primitives.IPersistableModel<Azure.Data.AI.EmbeddingUsage>
[<System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.Data.AI.UnknownEmbeddingUsage))>]
type EmbeddingUsage = class
interface IJsonModel<EmbeddingUsage>
interface IPersistableModel<EmbeddingUsage>
Public MustInherit Class EmbeddingUsage
Implements IJsonModel(Of EmbeddingUsage), IPersistableModel(Of EmbeddingUsage)
- Inheritance
-
EmbeddingUsage
- Derived
- Attributes
- Implements
Properties
| Name | Description |
|---|---|
| PromptTokens |
The number of input tokens. |
| TotalTokens |
The total number of tokens. |