langchain_experimental.tot.thought.Thought¶
- class langchain_experimental.tot.thought.Thought(*, text: str, validity: ThoughtValidity, children: Set[Thought] = None)[source]¶
Bases:
BaseModelCreate a new model by parsing and validating input data from keyword arguments.
Raises ValidationError if the input data cannot be parsed to form a valid model.
- param children: Set[langchain_experimental.tot.thought.Thought] [Optional]¶
- param text: str [Required]¶
- param validity: langchain_experimental.tot.thought.ThoughtValidity [Required]¶