pinecone-client
python library connect to a pinecone environment.
The required arguments to establish a connection are:
api_key
: the API key that can be found in your pinecone accountCREATE TABLE
statements:
dimension
: dimensions of the vectors to be stored in the index (default=8)metric
: distance metric to be used for similarity search (default=‘cosine’)spec
: the spec of the index to be created. This is a dictionary that can contain the following keys:
cloud
: the cloud provider to use (default=‘aws’)region
: the region to use (default=‘us-east-1’)CREATE TABLE
statements.DROP TABLE
supportcontent
column is not supported since it does not exist in Pineconetemp
in the following examples) based on id
or search_vector
, but not both:
id
or metadata
like so: