v7.4.2
版本发布时间: 2023-12-07 05:52:37
betalgo/openai最新发布版本:v8.1.1(2024-04-21 06:18:02)
- Let's start with breaking changes:
- OpenAI has replaced function calling with tools. We have made the necessary changes to our code. This is not a major change; now you just have a wrapper around your function calling, which is named as "tool". The Playground provides an example. Please take a look to see how you can update your code.
This update was completed by @shanepowell. Many thanks to him.
- OpenAI has replaced function calling with tools. We have made the necessary changes to our code. This is not a major change; now you just have a wrapper around your function calling, which is named as "tool". The Playground provides an example. Please take a look to see how you can update your code.
- Now we support the Vision API, which involves passing message contents to the existing chat method. It is quite easy to use, but documentation was not available in the OpenAI API documentation.
This feature was completed by @belaszalontai. Many thanks to them.
What's Changed
- Minor docs changes for image creation parameter Quality by @Michael-Herzog in https://github.com/betalgo/openai/pull/439
- Add missing revised_prompt property to ImageDataResult model by @belaszalontai in https://github.com/betalgo/openai/pull/435
- Add system_fingerprint to the ChatCompletionCreateResponse class as per: by @shanepowell in https://github.com/betalgo/openai/pull/431
- Add new tool choices to the ChatCompletionCreateRequest and ChatMessa… by @shanepowell in https://github.com/betalgo/openai/pull/432
- Extend Chat API with Vision feature by @belaszalontai in https://github.com/betalgo/openai/pull/434
- added DefineFunction by @kayhantolga in https://github.com/betalgo/openai/pull/444
- version bump for 7.4.2 by @kayhantolga in https://github.com/betalgo/openai/pull/445
- Release 7.4.2 by @kayhantolga in https://github.com/betalgo/openai/pull/441
New Contributors
- @Michael-Herzog made their first contribution in https://github.com/betalgo/openai/pull/439
Full Changelog: https://github.com/betalgo/openai/compare/v7.4.1...v7.4.2