Skip to content

Commit ea60f38

Browse files
docs: improve gleaning description (#371)
* docs: improve gleaning description * docs: improve gleaning description * docs: improve gleaning description * docs: fix spacing in gleaning docs
1 parent d156351 commit ea60f38

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

docs/concepts/operators.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -207,18 +207,18 @@ Gleaning is an iterative process that refines LLM outputs using context-aware va
207207

208208
4. **Decision**: The system interprets the assessment:
209209

210-
- If there's no error or room for improvement, the current output is returned.
211-
- If improvements are suggested, the process continues.
210+
- If there's no error or room for improvement, the current output is returned.
211+
- If improvements are suggested, the process continues.
212212

213213
5. **Refinement**: If improvements are needed:
214214

215-
- A new prompt is created, including the original operation prompt, the original output, and the validator feedback.
216-
- This is submitted to the LLM to generate an improved output.
215+
- A new prompt is created, including the original operation prompt, the original output, and the validator feedback.
216+
- This is submitted to the LLM to generate an improved output.
217217

218218
6. **Iteration**: Steps 2-5 are repeated until either:
219219

220-
- The validator has no more feedback (i.e., the evaluation passes), or
221-
- The number of iterations exceeds `num_rounds`.
220+
- The validator has no more feedback (i.e., the evaluation passes), or
221+
- The number of iterations exceeds `num_rounds`.
222222

223223
7. **Final Output**: The last refined output is returned.
224224

0 commit comments

Comments
 (0)