Skip to main content

Assistants

computer programs that serve as virtual assistants and communicate with users through text-based interfaces on websites, social media platforms and messaging apps. These chatbots can assist customers, respond to inquiries or start a discussion with them. By equiping the asssitant with tools, the asssitant will be able to perform tasks that the LLM cannot do, and give it's result to the LLM to give you the final answer.

There are two important concepts to understand with the assistants:

  • System Prompt : This is a predefined description is defined during the creation of an assistant. It outlines the assistant's specialization, capabilities, and behavioral instructions. For example, in a customer support assistant, the system prompt might be detailed as follows: "You are a highly skilled customer support assistant, specialized in handling complex customer queries efficiently and empathetically. Your primary focus is on resolving customer issues related to orders, product inquiries, and service feedback. You are designed to..."

  • User Prompt: This refers to the user's query or question directed at the assistant. For instance, it could be something like, "What are the apartment prices in X compound?"

These prompts play crucial roles in guiding the interaction between the user and the assistant, ensuring responses are both relevant and contextually appropriate.