Skip to content

Jonathanm10/pinecone-client

Repository files navigation

A simple PHP wrapper around Pinecone API (Unofficial)

Latest Version on Packagist Tests Total Downloads

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.