Releases: doc-gpt/doc-gpt
v1.1.7
- Add
GptModel
type adding actual new GPT-4 models.
Note: GPT-4 is currently in a limited beta with waitlist.
Install
The library is avaliable both on NPM and GitHub Packages.
Install from NPM
npm i @doc-gpt/chat@1.1.7
Install from GitHub Packages
First of all, you need to add a .npmrc
file, in the root of your project, with the following content:
@doc-gpt:registry=https://npm.pkg.github.com
Then install the package
npm install @doc-gpt/chat@1.1.7
v1.1.3
- Add
lastChunk
param in onDone callback for ChatStream method
Install
The library is avaliable both on NPM and GitHub Packages.
Install from NPM
npm i @doc-gpt/chat@1.1.3
Install from GitHub Packages
First of all, you need to add a .npmrc
file, in the root of your project, with the following content:
@doc-gpt:registry=https://npm.pkg.github.com
Then install the package
npm install @doc-gpt/chat@1.1.3
v1.1.1
Fix stream explicit import causing problem on some environments
Install
The library is avaliable both on NPM and GitHub Packages.
Install from NPM
npm i @doc-gpt/chat@1.1.1
Install from GitHub Packages
First of all, you need to add a .npmrc
file, in the root of your project, with the following content:
@doc-gpt:registry=https://npm.pkg.github.com
Then install the package
npm install @doc-gpt/chat@1.1.1
v1.1.0
- Stream method implemented.
UseChatStream
method, which offers usefull callbacks to easily consume the response.
See the README for an example. - Refactor README and add ChatStream explanation
Install
The library is avaliable both on NPM and GitHub Packages.
Install from NPM
npm i @doc-gpt/chat@1.1.0
Install from GitHub Packages
First of all, you need to add a .npmrc
file, in the root of your project, with the following content:
@doc-gpt:registry=https://npm.pkg.github.com
Then install the package
npm install @doc-gpt/chat@1.1.0
v1.0.0
Add the DocGptChat
instance with:
- Chat method for non-stream request
- SimpleChat method for getting first message content from non-stream request
Stream request are still todo
Install
The library is avaliable both on NPM and GitHub Packages.
Install from NPM
npm i @doc-gpt/chat@1.0.0
Install from GitHub Packages
First of all, you need to add a .npmrc
file, in the root of your project, with the following content:
@doc-gpt:registry=https://npm.pkg.github.com
Then install the package
npm install @doc-gpt/chat@1.0.0