Spaces:
Running on Zero
Running on Zero
| # Copy the finished jina FAISS index into the Space's data/ dir. | |
| # Run this from the project root (v:\Coding_RAG) AFTER the embed build completes | |
| # (status shows embedded == 91720). | |
| set -e | |
| SRC=data/index | |
| DST=hf-space/gdscript-assistant/data | |
| cp "$SRC/embeddings.faiss" "$DST/embeddings.faiss" | |
| cp "$SRC/id_map.json" "$DST/id_map.json" | |
| # chunks.jsonl is already staged; refresh in case it changed: | |
| cp data/chunks.jsonl "$DST/chunks.jsonl" | |
| echo "Staged into $DST:" | |
| ls -lh "$DST" | |