LanguageModelRequestMetadata
Namespace: Vercel.AI
public sealed class LanguageModelRequestMetadataMetadata for a language model request. Maps to LanguageModelRequestMetadata.
Inheritance: object
Properties
Section titled “Properties”public JsonElement? Body { get; init; }Request HTTP body that was sent to the provider API.
Value: JsonElement?
public static LanguageModelRequestMetadata Empty { get; }Request metadata with no messages and no body.
Value: LanguageModelRequestMetadata
Messages
Section titled “Messages”public IReadOnlyList<ModelMessage>? Messages { get; init; }The input messages that were sent to the model for this step.
Value: IReadOnlyList<ModelMessage>
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product