Skip to content

ThoughtGenerationStrategy

PropertyPatternTypeDeprecatedDefinitionTitle/Description
- implementationNoconstNo-ThoughtGenerationStrategy
- preambleNostringNo-Preamble
- thoughtsNostringNo-Thoughts
- post_ambleNostringNo-Post Amble
- num_childrenNointegerNo-Num Children

1. Property implementation

Typeconst
RequiredNo

Description: ThoughtGenerationStrategy

Specific value: "ThoughtGenerationStrategy"

2. Property preamble

Title: Preamble

Typestring
RequiredNo
Default"You are an intelligent agent that is generating one thought at a time in a tree of thoughts setting."

3. Property thoughts

Title: Thoughts

Typestring
RequiredNo
Default"{% if thoughts %}\nTHOUGHTS\n\n{% for thought in thoughts %}\n{{ thought }}\n{% endfor %}\n{% endif %}"

4. Property post_amble

Title: Post Amble

Typestring
RequiredNo
Default"{% if thoughts %}\nPlease generate {{ n }} valid thoughts based on the last valid thought\n{% else %}\nPlease generate {{ n }} valid thoughts based on the question\n{%- endif -%}"

5. Property num_children

Title: Num Children

Typeinteger
RequiredNo
Default3

Description: The number of thoughts to generate.