Spaces:
Running
Running
Update agent.py
Browse files
agent.py
CHANGED
@@ -353,7 +353,7 @@ docs = [
|
|
353 |
Document(page_content="She continued releasing music well into the 2000s.")
|
354 |
]
|
355 |
# Get the embeddings for the documents
|
356 |
-
|
357 |
|
358 |
# Now, you can use the embeddings with FAISS or other retrieval systems
|
359 |
# For example, with FAISS:
|
|
|
353 |
Document(page_content="She continued releasing music well into the 2000s.")
|
354 |
]
|
355 |
# Get the embeddings for the documents
|
356 |
+
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:
|