Added rag_demo md

`if data['weight'] < threshold:` (No need to assign if it's only used once.)