Skip to content

Commit

Permalink
Add option to truncate input_text in outputs (#413)
Browse files Browse the repository at this point in the history
This is useful when processing multiple documents and/or full texts, as
they can get quite large.
  • Loading branch information
caufieldjh authored Jul 24, 2024
2 parents 91ed212 + 8c0ad04 commit aa77dbd
Show file tree
Hide file tree
Showing 2 changed files with 78 additions and 15 deletions.
6 changes: 6 additions & 0 deletions docs/functions.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,12 @@ The range may vary per model, but for the OpenAI API this value must range from

Higher temperatures generally correspond to greater randomness, which may be desirable.

### cut-input-text

Use the option `cut-input-text` to truncate all input_text in output to 1000 characters each.

This can be useful when processing many inputs and/or full texts, as without this option the full input will be included.

## Functions

### categorize-mappings
Expand Down
Loading

0 comments on commit aa77dbd

Please sign in to comment.