As part of the responsible AI policy, it's important that we clearly disclose use of AI in any workflows.
One neat an unobtrusive means of doing this is to add a little icon to a Project, Workflow or Step which has an AI chat associated with it. That affects the project and workflow lists in LiveView, and the WorkflowDiagram component in React.
This has a number of benefits:
- Its easier for users to track down older AI chats
- Clear disclosure that AI was used on a given project/workflow/step (this is super important!)
- A shortcut to open the inspect on the chat history
The biggest blocker here is that we don't have any such icon prepared 🤔 I suppose we can start by using the chip icon used inside the chat itself.
I also don't know if this is easy information to get out of the database. I would accept just having an icon on steps if the hierarchy is too hard