PHP code example of chatgpt / doc

1. Go to this page and download the library: Download chatgpt/doc library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

chatgpt / doc example snippets


ChatGPT\Doc\ChatGPTDoc::class,

Ex: http://your-website/chatgpt-doc

Ex: http://localhost:8000/chatgpt-doc