Spaces:
Paused
Paused
Upload Index.py
Browse files
Index.py
CHANGED
@@ -67,7 +67,7 @@ retriever = None
|
|
67 |
def initialize_vectorstore():
|
68 |
|
69 |
webpage_loader = WebBaseLoader("https://www.tredence.com/case-studies/tredence-helped-a-global-retailer-providing-holistic-campaign-analytics-by-using-the-power-of-gcp").load()
|
70 |
-
webpage_chunks = _text_splitter
|
71 |
|
72 |
# store embeddings in vector store
|
73 |
vectorstore = FAISS.from_documents(webpage_chunks, embedder)
|
|
|
67 |
def initialize_vectorstore():
|
68 |
|
69 |
webpage_loader = WebBaseLoader("https://www.tredence.com/case-studies/tredence-helped-a-global-retailer-providing-holistic-campaign-analytics-by-using-the-power-of-gcp").load()
|
70 |
+
webpage_chunks = _text_splitter(webpage_loader)
|
71 |
|
72 |
# store embeddings in vector store
|
73 |
vectorstore = FAISS.from_documents(webpage_chunks, embedder)
|