Skip to content

Commit

Permalink
Version Packages
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Nov 7, 2023
1 parent 095c534 commit 19761e9
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 20 deletions.
19 changes: 0 additions & 19 deletions .changeset/nasty-hairs-destroy.md

This file was deleted.

20 changes: 20 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>",
"license": "MIT",
Expand Down

0 comments on commit 19761e9

Please sign in to comment.