Update app.py
Browse files
app.py
CHANGED
|
@@ -83,7 +83,7 @@ def get_vectorstore(text_chunks):
|
|
| 83 |
)
|
| 84 |
vectorstore = FAISS.from_texts(texts=text_chunks, embedding=embeddings)
|
| 85 |
print("-----")
|
| 86 |
-
print(vectorstore.as_retriever.
|
| 87 |
print("-----")
|
| 88 |
return vectorstore
|
| 89 |
|
|
|
|
| 83 |
)
|
| 84 |
vectorstore = FAISS.from_texts(texts=text_chunks, embedding=embeddings)
|
| 85 |
print("-----")
|
| 86 |
+
print(vectorstore.as_retriever.similarity_search("What is ALiBi?"))
|
| 87 |
print("-----")
|
| 88 |
return vectorstore
|
| 89 |
|