1. Learn
  2. /
  3. Courses
  4. /
  5. Multi-Modal Systems with the OpenAI API

Connected

Exercise

Generating a tailored response

Now that the customer inquiry passed moderation, it's time to generate a tailored response.

To help the chatbot respond accurately, you'll provide it with relevant context. Two documents are available:

  • faqs: common customer questions and answers
  • content_overview: relevant tracks, including descriptions and links

The corrected transcript is still available as corrected_text

Instructions

100 XP
  • Complete the prompt that gives clear instructions and includes the faqs and content_overview documents for context.
  • Use the gpt-4o-mini model to generate a response, sending instruction_prompt as a system message and corrected_text as a user message.