gym/chat_info

There is no license information available for the latest version (1.0.0) of this package.

对接AI大模型聊天数据信息

1.0.0 2025-01-21 07:45 UTC

This package is auto-updated.

Last update: 2025-01-21 08:07:38 UTC


README

Installation

Install the latest version with

$ composer require gym/chat_info

Basic Usage

<?php

use Chat;

// create a log channel
$chat = new Chat('your-openai-api-key','gpt-3.5-turbo');
$response = $chat->chat('Hello, how are you?');