PHP code example of adrianmejias / laravel-open-ai
1. Go to this page and download the library: Download adrianmejias/laravel-open-ai 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/ */
adrianmejias / laravel-open-ai example snippets
use AdrianMejias\OpenAi\Facades\OpenAiFacade;
$engines = OpenAiFacade::engines();