Spaces:
Sleeping
Sleeping
rename
Browse files
upload_metadata.py → upload_metadata_n_setup_retrivers.py
RENAMED
|
@@ -90,7 +90,7 @@ vector_store = SupabaseVectorStore(
|
|
| 90 |
)
|
| 91 |
retriever = vector_store.as_retriever()
|
| 92 |
|
| 93 |
-
query = "On June 6, 2023, an article by Carolyn Collins Petersen was published in Universe Today. This article mentions a team that produced a paper about their observations, linked at the bottom of the article. Find this paper. Under what NASA award number was the work performed by R. G. Arendt supported by?"
|
| 94 |
-
# matched_docs = vector_store.similarity_search(query, k=2)
|
| 95 |
-
retrived_docs = retriever.invoke(query)
|
| 96 |
-
print(retrived_docs[0])
|
|
|
|
| 90 |
)
|
| 91 |
retriever = vector_store.as_retriever()
|
| 92 |
|
| 93 |
+
# query = "On June 6, 2023, an article by Carolyn Collins Petersen was published in Universe Today. This article mentions a team that produced a paper about their observations, linked at the bottom of the article. Find this paper. Under what NASA award number was the work performed by R. G. Arendt supported by?"
|
| 94 |
+
# # matched_docs = vector_store.similarity_search(query, k=2)
|
| 95 |
+
# retrived_docs = retriever.invoke(query)
|
| 96 |
+
# print(retrived_docs[0])
|