Update app.py
Browse files
app.py
CHANGED
@@ -24,7 +24,7 @@ embedding = HuggingFaceEmbeddings(model_name=model_name)
|
|
24 |
os.environ["PINECONE_API_KEY"] ='4bf0b4cf-4ced-4f70-8977-d60bb8ae405a'
|
25 |
index_name = "boe-intfloat-multilingual-e5-base"
|
26 |
namespace = "trebep"
|
27 |
-
vectorstore = PineconeVectorStore(index_name=index_name, namespace=
|
28 |
|
29 |
# CREAMOS EL RETRIEVAL
|
30 |
qa = RetrievalQA.from_chain_type(
|
|
|
24 |
os.environ["PINECONE_API_KEY"] ='4bf0b4cf-4ced-4f70-8977-d60bb8ae405a'
|
25 |
index_name = "boe-intfloat-multilingual-e5-base"
|
26 |
namespace = "trebep"
|
27 |
+
vectorstore = PineconeVectorStore(index_name=index_name, namespace=namespace, embedding=embedding)
|
28 |
|
29 |
# CREAMOS EL RETRIEVAL
|
30 |
qa = RetrievalQA.from_chain_type(
|