gutai123 commited on
Commit
6e9927d
·
verified ·
1 Parent(s): c3c66f3

Update Load_Data_Store.py

Browse files
Files changed (1) hide show
  1. Load_Data_Store.py +3 -4
Load_Data_Store.py CHANGED
@@ -1,6 +1,6 @@
1
  import streamlit as st
2
  from dotenv import load_dotenv
3
- from pages.admin_utils import *
4
 
5
 
6
  def main():
@@ -28,9 +28,8 @@ def main():
28
 
29
  # Build the vector store (Push the PDF data embeddings)
30
  #Recent changes by langchain team, expects ""PINECONE_API_KEY" environment variable for Pinecone usage! So we are creating it here
31
- import os
32
- os.environ["PINECONE_API_KEY"] = "f44rtyb387-yu29-7802-adp1-eed3frj67mbvb056"
33
- push_to_pinecone(os.getenv("PINECONE_API_KEY"),"gcp-starter","tickets",embeddings,docs_chunks)
34
 
35
  st.success("Successfully pushed the embeddings to Pinecone")
36
 
 
1
  import streamlit as st
2
  from dotenv import load_dotenv
3
+ from admin_utils import *
4
 
5
 
6
  def main():
 
28
 
29
  # Build the vector store (Push the PDF data embeddings)
30
  #Recent changes by langchain team, expects ""PINECONE_API_KEY" environment variable for Pinecone usage! So we are creating it here
31
+
32
+ push_to_pinecone(os.getenv(,"us-east-1","tickets",embeddings,docs_chunks)
 
33
 
34
  st.success("Successfully pushed the embeddings to Pinecone")
35