AIInferenceModelFactory.EmbeddingItem(BinaryData, Int32) Method
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.
Initializes a new instance of EmbeddingItem.
public static Azure.AI.Inference.EmbeddingItem EmbeddingItem (BinaryData embedding = default, int index = 0);
static member EmbeddingItem : BinaryData * int -> Azure.AI.Inference.EmbeddingItem
Public Shared Function EmbeddingItem (Optional embedding As BinaryData = Nothing, Optional index As Integer = 0) As EmbeddingItem
Parameters
- embedding
- BinaryData
List of embedding values for the input prompt. These represent a measurement of the vector-based relatedness of the provided input. Or a base64 encoded string of the embedding vector.
- index
- Int32
Index of the prompt to which the EmbeddingItem corresponds.
Returns
A new EmbeddingItem instance for mocking.
Applies to
Colaborar conosco no GitHub
A fonte deste conteúdo pode ser encontrada no GitHub, onde você também pode criar e revisar problemas e solicitações de pull. Para obter mais informações, confira o nosso guia para colaboradores.
Azure SDK for .NET