RerankModelCallEvent
Namespace: Vercel.AI.Operations
public sealed class RerankModelCallEventInner rerank telemetry event.
Inheritance: object
Constructors
Section titled “Constructors”RerankModelCallEvent(string, string, string, string, string?, IReadOnlyList<RerankModelRank>?)
Section titled “RerankModelCallEvent(string, string, string, string, string?, IReadOnlyList<RerankModelRank>?)”public RerankModelCallEvent(string callId, string operationId, string provider, string modelId, string? documentsType, IReadOnlyList<RerankModelRank>? ranking)Creates the event.
Parameters
| Name | Type | Description |
|---|---|---|
callId |
string | |
operationId |
string | |
provider |
string | |
modelId |
string | |
documentsType |
string | |
ranking |
IReadOnlyList<RerankModelRank> |
Properties
Section titled “Properties”CallId
Section titled “CallId”public string CallId { get; }Call id.
Value: string
DocumentsType
Section titled “DocumentsType”public string? DocumentsType { get; }text or object.
Value: string
ModelId
Section titled “ModelId”public string ModelId { get; }Model id.
Value: string
OperationId
Section titled “OperationId”public string OperationId { get; }ai.rerank.doRerank.
Value: string
Provider
Section titled “Provider”public string Provider { get; }Provider id.
Value: string
Ranking
Section titled “Ranking”public IReadOnlyList<RerankModelRank>? Ranking { get; }Ranking, on the end event.
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product