Returns this class instance's primitive wire representation.
public String asString()Returns this class instance's primitive wire representation. This differs from the [toString] method because that method is primarily for debugging and generally doesn't throw.
LangChainInvalidDataException: if this class instance's value does
not have the expected primitive type.