Developing AI Based Tutor

We are developing an AI based Tutor using ChatGPT 4o. We have used ChatGPT Assistants. I want AI to behave in particular manner.

So when student suggest a topic.
Step 1

  1. It should search our database and if there is a video it should display that
  2. If video is not there then it should search Slides and show
  3. If Slide is not there it should search Youtube and Display video within the chat.

Step 2
Once the student have watch video, It should send revision notes / pointers that is important in the topic

Step 3
Start Q/A with student to make him/her understand the topic

It should be in conversational manner and friendly and also try to understand in what style student like to learn.

Anyone who has done something like this before.

Hi,
I think the tough part here is when you want OpenAI to read your database (Step 1). You might have no choice that to use a combo with OpenAI and a vector database (e.g. Pinecone).

Here are very good tutos from Jeff at Blank Slate Labs (2 videos + 1 Bonus):

Step 2 - 3 > Just make OpenAI to do a revision/notes/pointers/quizz of the result of step 1 with a text gen call. Use chat completion API (or the new Assistant AI) to create a “real” chat where OpenAI based its answer on previous messages.

Hope this help you to start :slight_smile: