Rename storage_exp/ to store/, remove unused storage/
Update all active scripts, .gitignore, CLAUDE.md, and README.md. Also fix stale filename references in script header comments.
This commit is contained in:
parent
5a3294f74c
commit
13785d667a
5 changed files with 12 additions and 13 deletions
|
|
@ -1,4 +1,4 @@
|
|||
# query_hybrid_bm25_v4.py
|
||||
# query_hybrid.py
|
||||
# Hybrid retrieval: BM25 (sparse) + vector similarity (dense) + cross-encoder
|
||||
#
|
||||
# Combines two retrieval strategies to catch both exact term matches and
|
||||
|
|
@ -40,7 +40,7 @@ import sys
|
|||
# Globals
|
||||
#
|
||||
|
||||
# Embedding model (must match build_exp_claude.py)
|
||||
# Embedding model (must match build_store.py)
|
||||
EMBED_MODEL = HuggingFaceEmbedding(cache_folder="./models", model_name="BAAI/bge-large-en-v1.5", local_files_only=True)
|
||||
|
||||
# LLM model for generation
|
||||
|
|
@ -105,7 +105,7 @@ def main():
|
|||
|
||||
|
||||
# Load persisted vector store
|
||||
storage_context = StorageContext.from_defaults(persist_dir="./storage_exp")
|
||||
storage_context = StorageContext.from_defaults(persist_dir="./store")
|
||||
index = load_index_from_storage(storage_context)
|
||||
|
||||
# --- Retrievers ---
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue