So I am new to LLMs and learning new things daily like RAG systems and stuff.
I am right now trying to create a chatbot using OpenAI API that should answer questions specific to a particular format of a PDF. For Example, Lets say I want to make a chatbot that should only respond to prompts related to Research papers like "summarize the objective section" or "Write a research paper for this specific project" etc.
Should I implement a RAG system for that. Or maybe there is a simpler way by just adding restrictions in the System message sent to the LLM?
I have seen implementations on some websites where if someone asks a questions not in the domain of the specific use case then the LLM responds with something like "I can't help with that".
If anyone can help shed some light on this, it would be very helpful. Thanks!