Represents a prompt value as a string. It extends the BasePromptValue class and overrides the toString and toChatMessages methods.
class StringPromptValueA path to the module that contains the class, eg. ["langchain", "llms"] Usually should be the same as the entrypoint the class is exported from.
Provider-specific data
Returns a string representation of an object.
The name of the serializable. Override to provide an alias or to preserve the serialized module name in minified environments.
Implemented as a static method to support loading logic.
A path to the module that contains the class, eg. ["langchain", "llms"]
A path to the module that contains the class, eg. ["langchain", "llms"]