Releases: jakecyr/openai-function-calling
Releases · jakecyr/openai-function-calling
2.2.0
Features
- Infers required parameters based on which have default parameters.
2.1.2
Fixes
- Increase version of docstring-parser to 0.16
2.1.1
Features
- Support for all Python 3.12 versions
2.1.0
Features Added
- Ability to better handle list/typing.List parameter annotations
- Added support for enumerations
v2.0.0
- Upgrade to the latest OpenAI version that changes from function calling to tools.
- Add the ToolHelpers class.
v.1.2.0
Features:
- Increase compatible Python version range to include 3.9
v1.1.0
Features
- Adds the ability to automatically infer a function's definition along with it's parameters automatically from a function reference.
v1.0.1
Changes
- 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
Changes
- Renamed
to_dict
to to_json_schema
.
- Added additional validation conditions when creating and converting
Parameter
s and Function
s 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
Features added:
- Add new parameter to
Parameter
class array_item_type
to specify the type of array items if type is set to array