Spaces:
Sleeping
Sleeping
Update agent.py
Browse files
agent.py
CHANGED
|
@@ -357,7 +357,6 @@ vector_store = FAISS.from_documents(docs, embedding_model)
|
|
| 357 |
|
| 358 |
# Now, you can use the embeddings with FAISS or other retrieval systems
|
| 359 |
# For example, with FAISS:
|
| 360 |
-
from langchain.vectorstores import FAISS
|
| 361 |
|
| 362 |
# Assuming 'docs' contains your list of documents and 'embedding_model' is the model you created
|
| 363 |
vector_store = FAISS.from_documents(docs, embedding_model)
|
|
|
|
| 357 |
|
| 358 |
# Now, you can use the embeddings with FAISS or other retrieval systems
|
| 359 |
# For example, with FAISS:
|
|
|
|
| 360 |
|
| 361 |
# Assuming 'docs' contains your list of documents and 'embedding_model' is the model you created
|
| 362 |
vector_store = FAISS.from_documents(docs, embedding_model)
|