Download the PHP package mbvb1223/pinecone-php-client without Composer
On this page you can find all versions of the php package mbvb1223/pinecone-php-client. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download mbvb1223/pinecone-php-client
More information about mbvb1223/pinecone-php-client
Files in mbvb1223/pinecone-php-client
Download mbvb1223/pinecone-php-client
More information about mbvb1223/pinecone-php-client
Files in mbvb1223/pinecone-php-client
Vendor mbvb1223
Package pinecone-php-client
Short Description A PHP SDK for Pinecone vector database
License Apache-2.0
Package pinecone-php-client
Short Description A PHP SDK for Pinecone vector database
License Apache-2.0
Please rate this library. Is it a good library?
Informations about the package pinecone-php-client
Pinecone PHP Client
A PHP SDK for Pinecone vector database.
Installation
Install the package via Composer:
Quick Start
Configuration
Environment Variables
Set your API key as an environment variable:
Then initialize without passing the key:
Configuration Options
Features
- Index Management: Create, describe, list, configure, and delete indexes
- Vector Operations: Upsert, query, fetch, update, delete, and list vector IDs
- Sparse Vector Support: Hybrid search with dense and sparse vectors
- Metadata Filtering: Filter vectors using rich query operators
- Namespaces: Organize vectors within indexes
- Data Plane on Index: Access vector operations directly on the index or via namespaces
- Inference API: Generate embeddings and rerank documents
- Assistant API: Chat with AI assistants
- Collections: Create and manage collections (pod-based indexes)
- Backups & Restore: Create backups and restore indexes
- Bulk Import: Import vectors in bulk
Requirements
- PHP 8.1 or higher
- Guzzle HTTP client (
guzzlehttp/guzzle ^7.0)
API Reference
Index Management
Vector Operations
Vector operations can be accessed directly on the Index object or through a namespace:
List Vector IDs (Serverless Only)
Sparse Vector Support (Hybrid Search)
Namespace & Index Stats
Bulk Import
Inference API
Generate embeddings and rerank documents:
Assistant API
Create and chat with AI assistants:
Collections (Pod-based Indexes)
Backups & Restore
Metadata Filtering
Filter vectors using Pinecone's query operators:
Error Handling
Exception hierarchy:
| Exception | Description |
|---|---|
PineconeException |
Base exception for all errors |
PineconeApiException |
HTTP errors from the API (includes status code and response data) |
PineconeAuthException |
Authentication failures |
PineconeValidationException |
Input validation errors |
PineconeRateLimitException |
Rate limit errors (HTTP 429) |
PineconeTimeoutException |
Request timeout errors |
Code Coverage
https://mbvb1223.github.io/pinecone-php-client/
License
This project is licensed under the Apache-2.0 License.
All versions of pinecone-php-client with dependencies
PHP Build Version
Package Version
The package mbvb1223/pinecone-php-client contains the following files
Loading the files please wait ...