datacipen commited on
Commit
0720bbe
1 Parent(s): b451efa

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +2 -1
main.py CHANGED
@@ -1019,7 +1019,8 @@ async def vectorOFDatabase_connexion():
1019
 
1020
  @cl.step(type="tool")
1021
  async def vectorDatabase_connexion():
1022
- pc = Pinecone(api_key='1e6bca4f-7ae3-4798-b85f-13139e82a7b8')
 
1023
  index_name = "all-skills"
1024
  index = pc.Index(index_name)
1025
 
 
1019
 
1020
  @cl.step(type="tool")
1021
  async def vectorDatabase_connexion():
1022
+ os.environ['PINECONE_API_KEYROME'] = os.environ['PINECONE_API_KEYROME']
1023
+ pc = Pinecone(api_key=os.environ['PINECONE_API_KEYROME'])
1024
  index_name = "all-skills"
1025
  index = pc.Index(index_name)
1026