Hi all, I am using the starter plan (it’s a blank slate now) but I have written a python script locally to index certain docs on my hard drive. The script creates a valid output.json file, but the script dies when it tries to upload to Pinecone:
File "/Users/jigsgaton/Documents/Python_Projects/Working scripts/pinecone2.py", line 22, in <module>
api_key = os.environ["PINECONE_API_KEY"]
~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^
File "<frozen os>", line 679, in __getitem__
KeyError: 'PINECONE_API_KEY'
Here is the script I am running.
I have keys, that’s all good, and it matches the one in the script, but still no go.