hkulekci/cohere

dev-main 2023-04-25 20:56 UTC

This package is auto-updated.

Last update: 2024-11-26 00:07:28 UTC


README

include_once 'vendor/autoload.php';
const API_KEY = '------API_KEY------';

$config = (new \Cohere\Config(API_KEY));
$client = new \Cohere\Client($config);

$response = $client->embed(['hello']);

var_dump($response);