Download the PHP package dragonzap/openai-chatgpt-assistant without Composer
On this page you can find all versions of the php package dragonzap/openai-chatgpt-assistant. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download dragonzap/openai-chatgpt-assistant
More information about dragonzap/openai-chatgpt-assistant
Files in dragonzap/openai-chatgpt-assistant
Package openai-chatgpt-assistant
Short Description Provides clean abstraction for the chatgpt assistant API. Build and run assistants with a clean easy to use design
License GPL-2.0-or-later
Informations about the package openai-chatgpt-assistant
chatgpt-assistant
Provides clean abstraction layer for the chatgpt assistant API. Build and run assistants with a clean easy to use design, compatible with raw PHP and also Laravel framework.
Documentation for Installation on Laravel framework
Documentation for Installation without Laravel framework
Installation
To install the ChatGPT Assistant wrapper, use Composer. Run the following command in your project directory:
Simple Usage
JessicaAssistant will override the handleFunction()
method which will be called by ChatGPT when ChatGPT needs to execute functions
The handleFunction
method will respond with the message to send back to ChatGPT both strings and arrays are allowed.
See the full implementation of Jessica Assistant here: https://github.com/dragonzapeducation/chatgpt-assistant-examples/blob/main/JustSimplePhp/src/console-chat-example.php
All versions of openai-chatgpt-assistant with dependencies
openai-php/client Version ^0.10.0
symfony/http-client Version ^7.0
nyholm/psr7 Version ^1.8