1. Learn
  2. /
  3. Courses
  4. /
  5. Working with Llama 3

Connected

Exercise

Building a conversation

The Llama model you've been working with can accept prompts in the form of messages from different roles. In this exercise, you'll create messages to prompt a customer support chatbot for an internet service provider.

The Llama model is available as llm.

Instructions

100 XP
  • Complete the conversation in the conv list so it includes the "user" message provided as prompt.
  • Pass the conversation to the Llama model, llm, and print the result.