jonathanm10 / pinecone-client
A simple wrapper around Pinecone API
Fund package maintenance!
Jonathanm10
Requires
- php: ^8.1
- guzzlehttp/guzzle: ^7.5
Requires (Dev)
- laravel/pint: ^1.2
- liip/rmt: ^1.7
- mockery/mockery: ^1.5
- pestphp/pest: ^1.20
- spatie/ray: ^1.28
This package is auto-updated.
Last update: 2024-10-09 15:25:30 UTC
README
Installation
You can install the package via composer:
composer require jonathanm10/pinecone-client
Usage
$client = Pinecone::init([ 'api_key' => 'xxxx-xxx-xxxx-xxxx', 'environment' => 'us-east-1-aws', ]); // Accessing the index API $client->index(); // Accessing the vector API $client->vector();
All Pinecone's methods are available as methods on the client: https://docs.pinecone.io/reference/describe_index_stats_post
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.
Credits
License
The MIT License (MIT). Please see License File for more information.