Skip to content

Commit

Permalink
Add all key to reduce docs
Browse files Browse the repository at this point in the history
  • Loading branch information
shreyashankar committed Sep 14, 2024
1 parent 49699e4 commit 56ef62e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/operators/reduce.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ This Reduce operation processes customer feedback grouped by department:
### Required Parameters
- `type`: Must be set to "reduce".
- `reduce_key`: The key (or list of keys) to use for grouping data.
- `reduce_key`: The key (or list of keys) to use for grouping data. Use `_all` to group all data into one group.
- `prompt`: The prompt template to use for the reduction operation.
- `output`: Schema definition for the output from the LLM.

Expand Down
2 changes: 1 addition & 1 deletion todos.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ TODO:
- [x] Add gleaning plan to reduce
- [ ] HITL for prompt selection (generally, a textual app)
- [ ] Fix bug in recursively optimizing reduce in the map optimizer
- [ ] Support reduce key of "all"
- [x] Support reduce key of "all"
- [ ] Write tests for optimizers
- [ ] Refactor reduce and join optimizers
- [ ] Support prompt prefix/custom instructions so users don't have to put them in every operation
Expand Down

0 comments on commit 56ef62e

Please sign in to comment.