mohammadhakimi
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -12,7 +12,7 @@ import os
|
|
12 |
import numpy as np
|
13 |
from langchain.schema import Document
|
14 |
from pinecone import Pinecone as PC
|
15 |
-
from langchain_pinecone import PineconeVectorStore
|
16 |
# Initialize Pinecone
|
17 |
PINECONE_API_KEY = os.getenv("PINECONE_API_KEY")
|
18 |
PINECONE_INDEX = "arolchatbot" # e.g., "us-west1-gcp-free"
|
|
|
12 |
import numpy as np
|
13 |
from langchain.schema import Document
|
14 |
from pinecone import Pinecone as PC
|
15 |
+
from langchain_pinecone.vectorstores import PineconeVectorStore
|
16 |
# Initialize Pinecone
|
17 |
PINECONE_API_KEY = os.getenv("PINECONE_API_KEY")
|
18 |
PINECONE_INDEX = "arolchatbot" # e.g., "us-west1-gcp-free"
|