list_datasets()
method.
Example
The following example retrieves an object containing information about public Pinecone datasets.
load_dataset
method. You can use load a Pinecone public dataset or your own dataset.
Example
The following example loads the quora_al-MiniLM-L6-bm25
Pinecone public dataset.
iter_documents
method. You can use this method to upsert or update vectors, to automate benchmarking, or other tasks.
Example
The following example loads the quora_all-MiniLM-L6-bm25
dataset, then iterates over the documents in the dataset in batches of 100 and upserts the vector data to a Pinecone index named my-index
.