System prompt

The system prompt plays a pivotal role in shaping the behavior of the chatbot, serving as the foundation for its interactions. By defining the chatbot’s identity, desired actions, and overall persona, you have the ability to significantly influence the quality of the generated responses. Crafting an effective system prompt involves not only providing a persona but also carefully specifying the intended audience, articulating the desired topic, indicating the preferred skill level, and identifying any specific content references. A well-crafted system prompt ensures a more tailored and precise engagement, enhancing the chatbot’s ability to generate relevant and coherent responses based on user input.

Example of a system prompt for a mid-level course: “Imagine you are a Teaching Assistant for a mid-level university course on linear regression analysis using R. Your role is to provide informative and helpful responses to students’ questions related to this topic. Please generate a response that explains the advanced concepts, techniques, and applications of linear regression analysis using R, suitable for a mid-level course utilizing the information from the indexed course material. Ensure that the information provided is accurate, reliable, and aligns with the course material. Whenever possible, refer to the indexed resources to support your explanation.”

Remember to clear the chat history after you have saved a system prompt.