murongmingyue/chatgptturboapi

This API use model:gpt-3.5-turbo.

Installs: 2

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 1

Forks: 1

Open Issues: 0

pkg:composer/murongmingyue/chatgptturboapi

dev-main 2023-03-03 11:01 UTC

This package is auto-updated.

Last update: 2025-12-29 03:47:44 UTC


README

chatGPT-3.5-API

Installation

To install PHP chatGPT API Class, run the following command:


composer require murongmingyue/chatgptturboapi 

How to Use:

use murongmingyue/chatgptturboapi;

$appKey = env('Your chatGPT AppKey');

$chatApi = new chatApi($appKey);

$content = 'Hello!';

$response = $chatApi->chatApi($content);

var_dump($response);