Ask a question to get started
Enter to send•Shift+Enter new line
Base abstract class for inputs to any language model.
PromptValues can be converted to both LLM (pure text-generation) inputs and chat model inputs.
PromptValues
PromptValue( self, *args: Any = (), **kwargs: Any = {}, )
Serializable
ABC
Return True as this class is serializable.
True
Get the namespace of the LangChain object.
Return prompt value as string.
Return prompt as a list of messages.
A map of constructor argument names to secret ids.
List of attribute names that should be included in the serialized kwargs.
Return a unique identifier for this class for serialization purposes.
Convert the graph to a JSON-serializable format.
Serialize a "not implemented" object.