Ask a question to get started
Enter to send•Shift+Enter new line
GenerationChunk( self, *args: Any = (), **kwargs: Any = {}, )
Generation
Generated text output.
Raw response from the provider.
Type is used exclusively for serialization purposes.
Return True as this class is serializable.
True
Get the namespace of the LangChain object.
A map of constructor argument names to secret ids.
List of attribute names that should be included in the serialized kwargs.
Is this class serializable?
Return a unique identifier for this class for serialization purposes.
Serialize the object to JSON.
Serialize a "not implemented" object.
GenerationChunk, which can be concatenated with other Generation chunks.
GenerationChunk