Handyllm

Latest version: v0.9.2

Safety actively analyzes 687918 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 2

0.7.6

Added

- add `RunConfig.on_chunk` as callback for streamed chunks
- add Azure tts example
- add `VM` method to transform kwargs to % wrapped variable map dict
- add `var_map` arg to `eval(...)`, `run(...)` and `arun(...)` for convenience

Changed

- merging different versions of `var_map` from method argument or from another `RunConfig`, instead of replacing it as a whole
- rename `RunConfig.to_dict`'s `retain_fd` arg to `retain_object`

0.7.5

Added

- `OpenAIClient` add audio speech (tts) api support
- add azure support for audio speech and transcriptions
- add tts test script

Changed

- prioritize `RunConfig.output_evaled_prompt_fd` over `RunConfig.output_evaled_prompt_path`
- `eval(...)`
- always return a new object
- gives `run_config` arg a default value
- accepts kwargs, same as `run(...)`
- when dumping, always filter request
- credential file do not overwrite existing request args

Fixed

- non-stream mode prioritize `RunConfig.output_fd` over `RunConfig.output_path`

Page 2 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.