Skip to content

v0.53.0

Compare
Choose a tag to compare
@github-actions github-actions released this 09 Sep 09:29
· 430 commits to main since this release

PromptingTools v0.53.0

Diff since v0.52.0

Added

  • Added beta headers to enable long outputs (up to 8K tokens) with Anthropic's Sonnet 3.5 (see ?anthropic_extra_headers).
  • Added a kwarg to prefill (aiprefill) AI responses with Anthropic's models to improve steerability (see ?aigenerate).

Updated

  • Documentation of aigenerate to make it clear that if streamcallback is provide WITH flavor set, there is no automatic configuration and the user must provide the correct api_kwargs.
  • Grouped Anthropic's beta headers as a comma-separated string as per the latest API specification.

Commits

Merged pull requests: