POST 1 of 5 MorningRAGConcept
How you stuff context into the prompt matters
Most RAG tutorials write:
f'Use this context.\n\n{context}\n\nQuestion: {q}'
That's a starting point, not production. Better prompts:
- Tell the model when there's no relevant info ('say I don't know')
- Number chunks and ask for citations
- Constrain answer length and format
- Set a system role for tone
The prompt is half the system. A great retrieval with a sloppy prompt still gives meh answers.#RAG#LLM#VectorDatabase#AI#100DaysOfCode#PromptEngineering