Download the PHP package mathsgod/openai-chat without Composer
On this page you can find all versions of the php package mathsgod/openai-chat. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download mathsgod/openai-chat
More information about mathsgod/openai-chat
Files in mathsgod/openai-chat
Download mathsgod/openai-chat
More information about mathsgod/openai-chat
Files in mathsgod/openai-chat
Vendor mathsgod
Package openai-chat
Short Description OpenAI Chat completion wrapper. Support function calls and variable assignment.
License MIT
Package openai-chat
Short Description OpenAI Chat completion wrapper. Support function calls and variable assignment.
License MIT
Please rate this library. Is it a good library?
Informations about the package openai-chat
openai-chat
Installation
Usage
To use the OpenAI chat, you need to create a new instance of the System
class and pass the OpenAI API key as the first argument.
Add a tool
Add a tool from a class method
Get usage records
After run the code above, you can get the usage records
Streaming
All versions of openai-chat with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.0
gioni06/gpt3-tokenizer Version ^1.2
psr/log Version ^3.0
mathsgod/openai-client Version ^1.3
react/stream Version ^1.3
gioni06/gpt3-tokenizer Version ^1.2
psr/log Version ^3.0
mathsgod/openai-client Version ^1.3
react/stream Version ^1.3
The package mathsgod/openai-chat contains the following files
Loading the files please wait ....