hkulekci/cohere

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

This package is auto-updated.

Last update: 2024-10-26 00:01:29 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);