Skip to content

Prompts

Namespace: Vercel.AI.Prompt

public static class Prompts

Prompt normalization. Maps to standardizePrompt.

Inheritance: object

View source

public static StandardizedPrompt StandardizePrompt(StandardizePromptInput input)

Validates and normalizes a prompt into instructions plus messages.

Parameters

Name Type Description
input StandardizePromptInput

Returns: StandardizedPrompt

View source

Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product