MockEmbedResult
Namespace: Vercel.AI.Testing
public sealed class MockEmbedResultEmbedding result stored in a scripted list.
Inheritance: object
Constructors
Section titled “Constructors”MockEmbedResult(float[])
Section titled “MockEmbedResult(float[])”public MockEmbedResult(float[] embedding)Creates a result with one embedding.
Parameters
| Name | Type | Description |
|---|---|---|
embedding |
float[] |
Properties
Section titled “Properties”Embeddings
Section titled “Embeddings”public IReadOnlyList<float[]> Embeddings { get; }Embeddings, one per input value.
Value: IReadOnlyList<float[]>
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product