Chat Message: Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 4: Line 4:


Chat messages have the following properties:
Chat messages have the following properties:
* Message; The answer.
* Message; Text containing the answer or message of the user or agent.
* Thinking; The thinking and reasoning process of an Agent (if enabled).
* Thinking; Text containing the thinking and reasoning of an Agent (if enabled).
* [[Agent Tool]] Calls.
* [[Agent Tool]] Calls; Array of tool call records (name, id and arguments).
* [[#Agent State|Agent State]].
* [[#Agent State|Agent State]].
* [[#Role|Role]]. The entity that send the message.
* [[#Role|Role]]. The entity that send the message.
Line 22: Line 22:


==Agent State==
==Agent State==
There are several message sates that describe [[AI Agent]] activity:
There are several message states that describe [[AI Agent]] activity:


* '''NONE''': Message has not been processed yet.
* '''NONE''': Message has not been processed yet.
Line 36: Line 36:
|api=*[[Api session items chatmessages]]
|api=*[[Api session items chatmessages]]
*[[Api session event editor chat add message]]
*[[Api session event editor chat add message]]
|howtos=*[[How to add a Chat Channel]]
*[[How to duplicate a Chat Channel]]
*[[How to remove a Chat Channel]]
*[[How to set the instructions of a Chat Channel]]
*[[How to change the LLM of a Chat Channel]]
*[[How to configure a Chat Channel]]
*[[How to allow a Chat Channel to edit a project]]
*[[How to toggle the thinking section of a Chat Channel]]
*[[AI Chat tutorial]]
*[[Indicator Chat tutorial]]
}}
}}
{{Editor community nav}}
{{Editor community nav}}
[[Category:Items]][[Category:Chat]]
[[Category:Items]][[Category:Chat]]

Latest revision as of 09:58, 12 October 2026

This functionality is currently in BETA.
Read more about Beta features.


Chat Messages are the content of Chat Channels. Each channel can have multiple messages. A message may be sent by a User or the response of an AI Agent.

Chat messages have the following properties:

  • Message; Text containing the answer or message of the user or agent.
  • Thinking; Text containing the thinking and reasoning of an Agent (if enabled).
  • Agent Tool Calls; Array of tool call records (name, id and arguments).
  • Agent State.
  • Role. The entity that send the message.
  • Item ID of the related Chat Channel.
  • The time it took to generate the message, in milliseconds.
  • The date the message was generated, in milliseconds after epoch.

Role

There are several message role types:

  • SYSTEM: System role is used to provide the AI Agent instructions, in the first message.
  • INTRO: Intro or welcome message, not processed by AI Agent.
  • ASSISTANT: Messages generated by the AI Agent.
  • USER: Messages typed by the User.

Agent State

There are several message states that describe AI Agent activity:

  • NONE: Message has not been processed yet.
  • QUEUING: Message queued for processing by AI Agent.
  • READING: AI Agent is reading the prompt.
  • GENERATING: AI Agent is generating the contents.
  • FINISHED: AI Agent has finished.