How to train Open AI to only reference our course learner guides?

I want to use OpenAI as a course assistant for our students within their Moodle eLearning Portal (moodle-block_openai_chat).
Within a students course there are multiple PDF Learner guides that I want to train OpenAI to only reference and not find or create answers from external sources, is this possible?

u can upload your file through build your own GPTS,or you can search about RAG,it also can fit your needs

Yes. use OpenAI Assistant’s File Search feature and with better prompting you can restrict it to only fetch contents from the Files you’ve provided. If you’re interested, check this video I’ve created on OpenAI Assistant V2. Let me know if you have any questions around OpenAI Assistant.

1 Like

It is possible to do this with the assistant api, upload your file and enable file search! Make sure to be clear in your prompt to only refer to your content and it should do the trick!

Hi there - you can do it through a custom GPT or an OpenAI Assistant but I believe there are some restrictions around your users having to have a subscription to OpenAI!

If it helps, I’ve built a product that just lets you create an AI bot (using OpenAI) and you can share that with anyone, put it on your website,and even control access! I can’t share here since that’d be against the forum but if you’re interested, you can look up pmfm ai :slight_smile:

Not true for Assistant APIs

Your tool uses ChatCompletion or Assistant APIs?