Skip to content

OpenAIEmbeddingCallResult

Namespace: Vercel.AI.OpenAI

public sealed class OpenAIEmbeddingCallResult

Embedding vectors plus the raw response.

Inheritance: object

View source

public IReadOnlyDictionary<string, string> Headers { get; }

HTTP response headers.

Value: IReadOnlyDictionary<string, string>

View source

public string RawBody { get; }

Raw response body.

Value: string

View source

public EmbeddingResult Result { get; }

Embedding vectors and token count.

Value: EmbeddingResult

View source

Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product