llama-stack/docs/source
Hardik Shah 28a0fe57cc
fix: Update rag examples to use fresh faiss index every time (#998)
# What does this PR do?
In several examples we use the same faiss index , which means running it
multiple times fills up the index with duplicates which eventually
degrades the model performance on RAG as multiple copies of the same
irrelevant chunks might be picked up several times.

Fix is to ensure we create a new index each time. 

Resolves issue in this discussion -
https://github.com/meta-llama/llama-stack/discussions/995

## Test Plan
Re-ran the getting started guide multiple times to see the same output

Co-authored-by: Hardik Shah <hjshah@fb.com>
2025-02-06 16:12:29 -08:00
..
building_applications Fix precommit check after moving to ruff (#927) 2025-02-02 06:46:45 -08:00
concepts Several documentation fixes and fix link to API reference 2025-02-04 14:00:43 -08:00
contributing fix: broken "core concepts" link in docs website (#940) 2025-02-03 13:46:34 -08:00
distributions feat: Add a new template for dell (#978) 2025-02-06 14:14:39 -08:00
getting_started fix: Update rag examples to use fresh faiss index every time (#998) 2025-02-06 16:12:29 -08:00
introduction Update index.md (#888) 2025-01-28 04:55:41 -08:00
playground update playground doc video 2024-12-26 14:50:19 -08:00
references Several documentation fixes and fix link to API reference 2025-02-04 14:00:43 -08:00
conf.py Several documentation fixes and fix link to API reference 2025-02-04 14:00:43 -08:00
index.md Several documentation fixes and fix link to API reference 2025-02-04 14:00:43 -08:00