logo
Desarrollo
Buscar
Custom Variables

Custom Variables

User attributes are defined by developers and are used to access variable data during the agent's runtime, enabling dynamic logic and responses through variables. Users can quickly reference user attributes in the Agent by entering {{. When running, user attributes will be automatically replaced with the correct values; if no value exists, it will be empty.

User Attributes

Log in to the GPTBots Platform, go to the Agent management page, and click on the Agent card to enter the Agent configuration management page. Select "Memory" to view the user attributes currently created for the Agent. Click the "Add" button to create and manage user attributes.
alt text

  • User attributes are user-level data under an Agent, used to store user-related information such as user ID, username, user email, etc.
  • User attributes are relatively fixed and are not frequently modified.
  • When the "Memory" switch is enabled, user attributes can be autonomously updated and queried by the Agent.
  • User attributes can be referenced as variables within the Agent, regardless of the "Memory" switch status.

During a conversation, users can set user attribute values via API. The attribute values set through the API will be permanently stored until the user actively deletes or updates them.