From 0ed5c6ec8ab5e50c409b6a573d4a6600d4b5ad01 Mon Sep 17 00:00:00 2001 From: goulustis Date: Sat, 11 Oct 2025 14:29:43 +0800 Subject: [PATCH] sanity check some sht --- scripts/make_rag_database.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/make_rag_database.py b/scripts/make_rag_database.py index 61bffc7..8b7fad3 100644 --- a/scripts/make_rag_database.py +++ b/scripts/make_rag_database.py @@ -59,6 +59,8 @@ def main(save_path = "assets/xiaozhan_emb"): "k":3 }) + u = loaded_vectorstore.similarity_search("灯与尘", k=2) + res = retriever.invoke("灯与尘") for doc in res: