Update main.py
Browse files
main.py
CHANGED
|
@@ -1019,7 +1019,8 @@ async def vectorOFDatabase_connexion():
|
|
| 1019 |
|
| 1020 |
@cl.step(type="tool")
|
| 1021 |
async def vectorDatabase_connexion():
|
| 1022 |
-
|
|
|
|
| 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 |
|