RAG
I want AI to answer only from our company docs. How do I set that up?
I want AI to answer only from our company docs. How do I set that up?
Section 3: Custom items are made-to-order and non-refundable once sold.
Can I return the custom phone case I bought yesterday?
According to Refund Policy §3, custom items cannot be returned once sold.
Source: Refund Policy §3Only the Markdown doc was updated without retraining the model; the AI answer changed immediately.
Retrieve before generating: The system finds the most relevant passages in the specified material for your question, instead of letting the model answer from memory.
Send material with the question: The model sees the question plus the retrieved passages; the answer must be based on them and can cite where it came from.
Updates take effect immediately: After updating the docs, no retraining is needed: the next retrieval returns the new content and the answer follows.
Make this assistant answer only from company docs: retrieve relevant passages before answering, and say you don't know when the docs don't cover it instead of making things up. After doc updates, retrieval picks up the new content automatically.