RerankResponseInfo
Namespace: Vercel.AI.Operations
public sealed class RerankResponseInfoResponse metadata for a rerank call.
Inheritance: object
Constructors
Section titled “Constructors”RerankResponseInfo(string?, DateTime, string, IReadOnlyDictionary<string, string>?, JsonElement?)
Section titled “RerankResponseInfo(string?, DateTime, string, IReadOnlyDictionary<string, string>?, JsonElement?)”public RerankResponseInfo(string? id, DateTime timestamp, string modelId, IReadOnlyDictionary<string, string>? headers, JsonElement? body)Creates response metadata.
Parameters
| Name | Type | Description |
|---|---|---|
id |
string | |
timestamp |
DateTime | |
modelId |
string | |
headers |
IReadOnlyDictionary<string, string> | |
body |
JsonElement? |
Properties
Section titled “Properties”public JsonElement? Body { get; }Response body.
Value: JsonElement?
Headers
Section titled “Headers”public IReadOnlyDictionary<string, string>? Headers { get; }Response headers.
Value: IReadOnlyDictionary<string, string>
public string? Id { get; }Provider response id.
Value: string
ModelId
Section titled “ModelId”public string ModelId { get; }Model id.
Value: string
Timestamp
Section titled “Timestamp”public DateTime Timestamp { get; }Response timestamp.
Value: DateTime
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product