ResponseMetadataStreamPart
Namespace: Vercel.AI.Provider
public sealed class ResponseMetadataStreamPart : LanguageModelStreamPartIdentifies the provider response.
Inheritance: object → LanguageModelStreamPart
Constructors
Section titled “Constructors”ResponseMetadataStreamPart(string?, string?, DateTimeOffset?)
Section titled “ResponseMetadataStreamPart(string?, string?, DateTimeOffset?)”public ResponseMetadataStreamPart(string? id, string? modelId, DateTimeOffset? timestamp)Creates a response-metadata part.
Parameters
| Name | Type | Description |
|---|---|---|
id |
string | |
modelId |
string | |
timestamp |
DateTimeOffset? |
Properties
Section titled “Properties”public string? Id { get; }Provider response id.
Value: string
ModelId
Section titled “ModelId”public string? ModelId { get; }Provider model id.
Value: string
Timestamp
Section titled “Timestamp”public DateTimeOffset? Timestamp { get; }Provider timestamp.
Value: DateTimeOffset?
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product