SystemModelMessage
Namespace: Vercel.AI.Provider
public sealed class SystemModelMessage : ModelMessageSystem instructions.
Inheritance: object → ModelMessage
Constructors
Section titled “Constructors”SystemModelMessage(string)
Section titled “SystemModelMessage(string)”public SystemModelMessage(string content)Creates a system message.
Parameters
| Name | Type | Description |
|---|---|---|
content |
string |
SystemModelMessage(string, IReadOnlyDictionary<string, JsonElement>?)
Section titled “SystemModelMessage(string, IReadOnlyDictionary<string, JsonElement>?)”public SystemModelMessage(string content, IReadOnlyDictionary<string, JsonElement>? providerOptions)Creates a system message with provider options, such as an OpenAI reasoningEffortUpdate.
Parameters
| Name | Type | Description |
|---|---|---|
content |
string | |
providerOptions |
IReadOnlyDictionary<string, JsonElement> |
Properties
Section titled “Properties”Content
Section titled “Content”public string Content { get; }Instruction text.
Value: string
ProviderOptions
Section titled “ProviderOptions”public IReadOnlyDictionary<string, JsonElement>? ProviderOptions { get; }Provider-specific options for this message.
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product