From 19761e9cba3bd359ef1406dfb7cf7d75c5152e20 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Tue, 7 Nov 2023 08:44:43 +0000 Subject: [PATCH] Version Packages --- .changeset/nasty-hairs-destroy.md | 19 ------------------- CHANGELOG.md | 20 ++++++++++++++++++++ package.json | 2 +- 3 files changed, 21 insertions(+), 20 deletions(-) delete mode 100644 .changeset/nasty-hairs-destroy.md diff --git a/.changeset/nasty-hairs-destroy.md b/.changeset/nasty-hairs-destroy.md deleted file mode 100644 index 8eef368..0000000 --- a/.changeset/nasty-hairs-destroy.md +++ /dev/null @@ -1,19 +0,0 @@ ---- -'function-gpt': major ---- - -Revamped public API to provide only the core functionality - -OpenAI has just announced their Assistants API which also allows function -calling. The previous API design of function-gpt was coupled with the chat -completion API thus won't be flexible enough for this library to work well -with the new Assistants API. - -As a result, the public API of this library has been revamped to provide only -the core functionality of generating function calling schema, and executing -function calling on demand. - -The previous ChatGPTSession class was removed, as it was coupled with the chat -completion API. A new class FunctionCallingProvider is introduced and can be -used instead of ChatGPTSession for defining functions to be used by function -calling. diff --git a/CHANGELOG.md b/CHANGELOG.md index 92a8ab3..3367b7a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,25 @@ # function-gpt +## 2.0.0 + +### Major Changes + +- 095c534: Revamped public API to provide only the core functionality + + OpenAI has just announced their Assistants API which also allows function + calling. The previous API design of function-gpt was coupled with the chat + completion API thus won't be flexible enough for this library to work well + with the new Assistants API. + + As a result, the public API of this library has been revamped to provide only + the core functionality of generating function calling schema, and executing + function calling on demand. + + The previous ChatGPTSession class was removed, as it was coupled with the chat + completion API. A new class FunctionCallingProvider is introduced and can be + used instead of ChatGPTSession for defining functions to be used by function + calling. + ## 1.4.0 ### Minor Changes diff --git a/package.json b/package.json index a58bdb8..01b0c50 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "function-gpt", - "version": "1.4.0", + "version": "2.0.0", "description": "A library to simplify the handling of function calling in OpenAI's ChatGPT API.", "author": "atinylittleshell ", "license": "MIT",