Skip to contents

Connection & Utilities

Functions for API connection and response handling

get_api_key()
Get Api Key
get_control_plane_url()
Get Pinecone Control Plane URL
get_data_plane_url()
Get Pinecone Data Plane URL
get_inference_url()
Get Pinecone Inference API URL
get_index_host()
Get Index Host
get_assistant_control_url()
Get Pinecone Assistant Control Plane URL
get_assistant_data_url()
Get Pinecone Assistant Data Plane URL
get_assistant_host()
Get Assistant Host
handle_respons()
Handle the API Response
handle_vectors()
Tidy Vector Data
get_url()
Get Pinecone index url (DEPRECATED)
extract_vector_controller()
Get controller (DEPRECATED)

Index Operations

Create, configure, and manage Pinecone indexes

list_indexes()
List Indexes
create_index()
Create Index
create_index_for_model()
Create Index for Model
describe_index()
Describe Index
delete_index()
Delete Index
configure_index()
Configure Index

Collection Operations

Manage index snapshots as collections

list_collections()
List Collections
create_collection()
Create Collection
describe_collection()
Describe Collection
delete_collection()
Delete Collection

Vector Operations

Query, upsert, fetch, update, and delete vectors

describe_index_stats()
Describe Index Stats
vector_query()
Query Vectors
vector_upsert()
Upsert Vectors
vector_fetch()
Fetch Vectors
vector_update()
Update Vector
vector_delete()
Delete Vectors
vector_list()
List Vector IDs

Inference API

Embed text and rerank documents using Pinecone’s inference models

embed()
Generate Embeddings
rerank()
Rerank Results

Records API

Work with integrated inference indexes (auto-embedding)

records_upsert()
Upsert Records (Integrated Inference)
records_search()
Search Records (Integrated Inference)

Bulk Operations

Import large datasets efficiently

start_import()
Start Bulk Import
describe_import()
Describe Import Operation
list_imports()
List Import Operations
cancel_import()
Cancel Import Operation

Assistant Operations

Create and manage Pinecone Assistants for RAG

list_assistants()
List Assistants
create_assistant()
Create Assistant
describe_assistant()
Describe Assistant
update_assistant()
Update Assistant
delete_assistant()
Delete Assistant

Assistant Files

Upload and manage files for Assistants

assistant_list_files()
List Files in Assistant
assistant_upload_file()
Upload File to Assistant
assistant_describe_file()
Describe File in Assistant
assistant_delete_file()
Delete File from Assistant

Assistant Chat

Chat with Assistants and retrieve context

assistant_chat()
Chat with Assistant
assistant_chat_completions()
Chat Completions with Assistant (OpenAI-compatible)
assistant_context()
Retrieve Context from Assistant
assistant_evaluate()
Evaluate Assistant Answer