EmbeddingResponseInfo
Namespace: Vercel.AI.Provider
public sealed class EmbeddingResponseInfoRaw HTTP response of an embedding call. Maps to response of doEmbed.
Inheritance: object
Constructors
Section titled “Constructors”EmbeddingResponseInfo(IReadOnlyDictionary<string, string>?, string?)
Section titled “EmbeddingResponseInfo(IReadOnlyDictionary<string, string>?, string?)”public EmbeddingResponseInfo(IReadOnlyDictionary<string, string>? headers, string? body)Creates response info.
Parameters
| Name | Type | Description |
|---|---|---|
headers |
IReadOnlyDictionary<string, string> | |
body |
string |
Properties
Section titled “Properties”public string? Body { get; }Raw HTTP response body.
Value: string
Headers
Section titled “Headers”public IReadOnlyDictionary<string, string> Headers { get; }HTTP response headers.
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product