experimental[patch]: update module doc strings (#19539)

Added missed module descriptions. Fixed format.
This commit is contained in:
Leonid Ganeline
2024-03-26 07:38:10 -07:00
committed by GitHub
parent 72ba738bf5
commit 4159a4723c
30 changed files with 154 additions and 40 deletions

View File

@@ -1,13 +1,13 @@
"""Chain for applying self-critique using the SmartGPT workflow.
"""**SmartGPT** chain is applying self-critique using the `SmartGPT` workflow.
See details at https://youtu.be/wVzuvf9D9BU
The workflow performs these 3 steps:
1. **Ideate**: Pass the user prompt to an ideation LLM n_ideas times,
1. **Ideate**: Pass the user prompt to an `Ideation LLM` n_ideas times,
each result is an "idea"
2. **Critique**: Pass the ideas to a critique LLM which looks for flaws in the ideas
2. **Critique**: Pass the ideas to a `Critique LLM` which looks for flaws in the ideas
& picks the best one
3. **Resolve**: Pass the critique to a resolver LLM which improves upon the best idea
3. **Resolve**: Pass the critique to a `Resolver LLM` which improves upon the best idea
& outputs only the (improved version of) the best output
In total, the SmartGPT workflow will use n_ideas+2 LLM calls