PHP code example of nexxtmove / ai
1. Go to this page and download the library: Download nexxtmove/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/ */
nexxtmove / ai example snippets
$fruits = AI::ask('Give me a JSON array with three fruits');
use Nexxtmove\AI;
$summary = AI::ask("Summarize this article: {$article}");