upstash/vector-laravel
最新稳定版本:v1.1.0
Composer 安装命令:
composer require upstash/vector-laravel
包简介
Upstash Vector SDK for Laravel
README 文档
README
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.
Installation
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'), ], ], ];
Usage
use Upstash\Vector\Laravel\Facades\Vector; $info = Vector::getInfo();
Testing
composer test
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 1.43k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 5
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-01-29