Interface: EmbeddingResult
@providerprotocol/ai / @providerprotocol/ai / EmbeddingResult
Interface: EmbeddingResult
Section titled “Interface: EmbeddingResult”Defined in: src/types/embedding.ts:128
Result from embed() call.
Properties
Section titled “Properties”embeddings
Section titled “embeddings”embeddings:
Embedding[]
Defined in: src/types/embedding.ts:130
Embeddings in same order as inputs
metadata?
Section titled “metadata?”
optionalmetadata:Record<string,unknown>
Defined in: src/types/embedding.ts:136
Provider-specific response metadata
usage:
EmbeddingUsage
Defined in: src/types/embedding.ts:133
Usage statistics