Skip to main content

Prompts

A prompt serves as the input to a language model, comprising multiple components that can be parameterized using prompt templates.

Prompt templates provide a systematic approach for generating prompts, allowing for reproducible customization through defined input variables.

Parameters​

Inputs​

NameDisplay NameInfo
templateTemplateCreate a prompt template with dynamic variables.

Outputs​

NameDisplay NameInfo
promptPrompt MessageThe built prompt message returned by the build_prompt method.

Hallo, wie kann ich Ihnen helfen?