Prompts
Namespace: Vercel.AI.Prompt
public static class PromptsPrompt normalization. Maps to standardizePrompt.
Inheritance: object
Methods
Section titled “Methods”StandardizePrompt(StandardizePromptInput)
Section titled “StandardizePrompt(StandardizePromptInput)”public static StandardizedPrompt StandardizePrompt(StandardizePromptInput input)Validates and normalizes a prompt into instructions plus messages.
Parameters
| Name | Type | Description |
|---|---|---|
input |
StandardizePromptInput |
Returns: StandardizedPrompt
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product