Hello; trying to simply connect to the API by running the python-client on my local machine. I am able to do pinecone.list_indexes(). However when I try to run a upsert operation, I’m getting a SSLCertVerificationError
PINECONE_API_KEY = os.environ.get('PINECONE_API_KEY')
PINECONE_ENV = os.environ.get('PINECONE_ENVIRONMENT')
INDEX_NAME = 'personal_agent'
pinecone.init(
api_key=PINECONE_API_KEY,
environment=PINECONE_ENV
)
index = pinecone.Index(INDEX_NAME)
index.upsert(
vectors=[
(
str(uuid4()), # Vector ID
embed, # Dense vector
{'user':'test',
'text': 'Sample document text goes here'},
)
]
)