Skip to content

LanguageModelV4Message

Namespace: E2E.Decision.Sdk

public abstract record LanguageModelV4Message : IEquatable<LanguageModelV4Message>

The AI SDK’s LanguageModelV4Message (language-model/v4/language-model-v4-prompt.ts). A prompt (LanguageModelV4Prompt) is a list of messages. This is not the user-facing prompt: it is the standardized format a language model takes.

Inheritance: object

Implements: IEquatable<LanguageModelV4Message>

Derived: LanguageModelV4AssistantMessage, LanguageModelV4SystemMessage, LanguageModelV4ToolMessage, LanguageModelV4UserMessage

View source

public IReadOnlyDictionary<string, JsonElement>? ProviderOptions { get; init; }

Additional provider-specific options, passed through to the provider, keyed by provider name.

Value: IReadOnlyDictionary<string, JsonElement>