Skip to content

Releases: doc-gpt/doc-gpt

v1.1.7

02 Apr 21:13
Compare
Choose a tag to compare
  • 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

13 Mar 00:34
Compare
Choose a tag to compare
  • 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

12 Mar 23:27
Compare
Choose a tag to compare

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

08 Mar 14:37
Compare
Choose a tag to compare
  • Stream method implemented.
    Use ChatStream 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

07 Mar 13:05
Compare
Choose a tag to compare

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