PHP code example of rahul900day / gpt-3-encoder
1. Go to this page and download the library: Download rahul900day/gpt-3-encoder 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/ */
rahul900day / gpt-3-encoder example snippets
use Rahul900day\Gpt3Encoder\Encoder;
Encoder::encode("Your prompt.");
use Rahul900day\Gpt3Encoder\Encoder;
Encoder::decode([8582, 242, 98]);