A simple question about the role of 'user' and 'assistant'

Hi, new to LLMs and RAG. For C1M1_ungraded_Lab2, I got confused about the role parameter. Apparently, it can be either ‘user‘ or ‘assistant‘ (‘system‘ is not often used, I guess). Can anyone help me understand why, in the code below for the augmented prompt, the role was set to ‘assistant‘ instead of ‘user‘?

I actually changed the role from ‘assistant‘ to ‘user‘, and the format of the reponse is very different. Thanks!

1 Like

The same question: by definition, the assistant role represents the LLM’s response.
Why is it used and prompted like other roles?(I noticed the same thing in the last notebook of the course and other notebooks as well)

@Community-Team, can you ask some course staff to look into this issue?

1 Like