Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 |
-
|
| 69 |
-
|
| 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(
|