prompt_values#

Prompt values for language model prompts.

Prompt values are used to represent different pieces of prompts. They can be used to represent text, images, or chat message pieces.

Classes

prompt_values.ChatPromptValue

Chat prompt value.

prompt_values.ChatPromptValueConcrete

Chat prompt value which explicitly lists out the message types it accepts.

prompt_values.ImagePromptValue

Image prompt value.

prompt_values.ImageURL

Image URL.

prompt_values.PromptValue

Base abstract class for inputs to any language model.

prompt_values.StringPromptValue

String prompt value.