Return a unique identifier for this class for serialization purposes.
Base abstract class for inputs to any language model.
PromptValues can be converted to both LLM (pure text-generation) inputs and
chat model inputs.
Return True as this class is serializable.
Get the namespace of the LangChain object.
Return prompt value as string.
Return prompt as a list of messages.