Commit Graph

5 Commits

Author SHA1 Message Date
Charles Packer
27eb05e7e8 Add safeguard on tokens returned by functions (#576)
* swapping out hardcoded str for prefix (forgot to include in #569)

* add extra failout when the summarizer tries to run on a single message

* added function response validation code, currently will truncate responses based on character count

* added return type hints (functions/tools should either return strings or None)

* discuss function output length in custom function section

* made the truncation more informative
2023-12-13 21:57:50 -08:00
Charles Packer
8323fb6ec3 clean docs (#543) 2023-11-30 18:09:14 -08:00
Charles Packer
398287d1ca Add d20 function example to readthedocs (#464)
* Update functions.md

* Update functions.md
2023-11-15 16:12:16 -08:00
Charles Packer
40ecc8e7e7 Update functions.md (#461) 2023-11-15 15:51:08 -08:00
cpacker
6275a78222 missing .md file 2023-11-15 01:11:10 -08:00