Openai-function-calling

Latest version: v2.3.0

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

Scan your dependencies

Page 1 of 2

2.0.0

* Upgrade to the latest OpenAI version that changes from function calling to tools.
* Add the `ToolHelpers` class.

1.2.0

* Increase compatible Python version range to include 3.9

1.1.0

* Adds the ability to automatically infer a function's definition along with it's parameters automatically from a function reference.

1.0.1

* Added the to_dict method back to the Function class and marked it as deprecated. It will be removed in future versions.

1.0.0

* Renamed to_dict to to_json_schema.
* Added additional validation conditions when creating and converting Parameters and Functions to JSON schema.
* Add ruff.toml file with additional checks and fixed all linting errors.
* Added additional docstrings.
* Added py.typed file for mypy.

0.6.0

* Add new parameter to Parameter class array_item_type to specify the type of array items if type is set to array

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.