StandardizePromptInput
Namespace: Vercel.AI.Prompt
public sealed class StandardizePromptInputInput for StandardizePrompt(StandardizePromptInput).
Inheritance: object
Properties
Section titled “Properties”AllowSystemInMessages
Section titled “AllowSystemInMessages”public bool AllowSystemInMessages { get; set; }When true, system messages may appear in Prompt or Messages.
Value: bool
Instructions
Section titled “Instructions”public Instructions? Instructions { get; set; }Instructions. They win over System.
Value: Instructions
Messages
Section titled “Messages”public IReadOnlyList<ModelMessage>? Messages { get; set; }Message list. Cannot be combined with Prompt.
Value: IReadOnlyList<ModelMessage>
Prompt
Section titled “Prompt”public PromptInput? Prompt { get; set; }A user string or a message list. Cannot be combined with Messages.
Value: PromptInput
System
Section titled “System”public string? System { get; set; }Legacy system string. Used when Instructions is null.
Value: string
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product