Upstash Vector is an HTTP serverless Vector Database.
You can store, query, and retrieve vectors from your application, use it to power your search, and more.
You can read more about Upstash Vector here.
You can install the package via composer:
composer require upstash/vector-laravel
You can publish the config file with:
php artisan vendor:publish --tag="vector-config"
This is the contents of the published config file:
return [
'default' => env('UPSTASH_VECTOR_CONNECTION', 'default'),
'connections' => [
'default' => [
'url' => env('UPSTASH_VECTOR_REST_URL'),
'token' => env('UPSTASH_VECTOR_REST_TOKEN'),
],
],
];
use Upstash\Vector\Laravel\Facades\Vector;
$info = Vector::getInfo();
composer test
Please see CHANGELOG for more information on what has changed recently.
Please see CONTRIBUTING for details.
Please review our security policy on how to report security vulnerabilities.
The MIT License (MIT). Please see License File for more information.