Skip to main content

Manage Messages

Messages form the foundational elements of a Chat in TaskingAI, representing the exchange of communication between the user and the Assistant. They play a critical role in the interaction, conveying queries, responses, and information.

When a response is needed from the Assistant based on the current chat context, the system initiates a Generation Session. This session is a coordinated process involving memory retrieval, the utilization of integrated tools, retrieval functionalities, and the language model's chat completion capabilities. The Generation Session is a key process, ensuring that the Assistant's responses are contextually relevant and appropriately informed by the ongoing conversation and available resources.

In this section, we'll introduce how to create user messages, retrieve, update, and delete existing messages. Furthermore, we'll learn how to use the Assistant's generation capabilities to generate messages.