Track Canvas AI Prompt Interactions

Created on 11 November 2025, 6 days ago

Overview

We want to introduce a way to record interactions with Canvas AI prompts. The goal is to monitor how the AI is being used and understand the status of these interactions. This information will help improve the usefulness of the AI by providing insights into its usage patterns.

  • There should be a way to turn logging on / off for Canvas AI prompt interactions.
  • When enabled, all interactions with Canvas AI prompts should be recorded.

Proposed resolution

Update CanvasAISettingsForm to include a checkbox for "Enable Logging".

  • Create two new events. Ex:
    • PREPARE_AI_LOG (src/Event/PrepareAiLogEvent): Responsible for building the logs array. Module developers can subscribe to this event to add or alter data to be logged.
    • LOG_AI_PROMPT (src/Event/LogAiPromptEvent): Responsible for sending or storing the logs array. Module developers can subscribe to this event to send log data to external or store it locally.

Update the render() method of the CanvasAIBuilder class to dispatch events accordingly.

Feature request
Status

Active

Version

1.0

Component

AI

Created by

🇮🇳India vishalkhode

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • Pipeline finished with Failed
    5 days ago
    Total: 613s
    #657064
  • Pipeline finished with Failed
    5 days ago
    Total: 884s
    #657075
  • Pipeline finished with Failed
    5 days ago
    Total: 662s
    #657106
  • Pipeline finished with Failed
    5 days ago
    Total: 960s
    #657116
  • Pipeline finished with Failed
    5 days ago
    Total: 647s
    #657707
  • Pipeline finished with Failed
    4 days ago
    #658516
  • Pipeline finished with Failed
    3 days ago
    Total: 593s
    #659783
  • Pipeline finished with Failed
    3 days ago
    Total: 577s
    #659792
  • Pipeline finished with Failed
    3 days ago
    Total: 587s
    #659955
  • Pipeline finished with Failed
    about 6 hours ago
    Total: 1684s
    #662182
Production build 0.71.5 2024