Class PromptTemplate (1.32.1)

PromptTemplate(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Prompt template.

Attributes

NameDescription
display_name str
Prompt name.
prompt_text str
Prompt text that is sent to a LLM on no-match default, placeholders are filled downstream. For example: "Here is a conversation $conversation, a response is: ".
frozen bool
If the flag is true, the prompt is frozen and cannot be modified by users.