MuhammadMubashir commited on
Commit
0388a2a
·
verified ·
1 Parent(s): 82a712d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -65,8 +65,8 @@ if not PINECONE_API_KEY:
65
  #Initialize Hugging Face Embeddings
66
  embeddings = HuggingFaceEmbeddings(model_name="sentence-transformers/all-MiniLM-L6-v2")
67
 
68
- pc = Pinecone(api_key="PINECONE_API_KEY")
69
- index = pc.Index("INDEX_NAME")
70
 
71
  # Load LLM & Memory
72
  llm = ChatAnthropic(
 
65
  #Initialize Hugging Face Embeddings
66
  embeddings = HuggingFaceEmbeddings(model_name="sentence-transformers/all-MiniLM-L6-v2")
67
 
68
+ vector_store = Pinecone.from_existing_index(index_name=INDEX_NAME, embedding=embeddings)
69
+
70
 
71
  # Load LLM & Memory
72
  llm = ChatAnthropic(