Capture node/entity information on AI Logs
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3551093. --> Reported by: [jhedstrom](https://www.drupal.org/user/208732) >>> <h3 id="summary-problem-motivation">Problem/Motivation</h3> <p>It would be nice to capture relevant entity information on AI Logs. For instance, this would allow a report of content generated by AI.</p> <p>This is tricky since much of the interaction may be in the CKEditor AI Assistant, or in a node add operation (no node ID to capture.)</p> <h4 id="summary-steps-reproduce">Steps to reproduce (required for bugs, but not feature requests)</h4> <p>Please provide information like AI modules enabled, which AI provider, browser, etc.</p> <h3 id="summary-proposed-resolution">Proposed resolution</h3> <p>Add an entity reference field to the logs. If we use the <a href="https://www.drupal.org/project/dynamic_entity_reference">Dynamic Entity Reference</a> module, this could be a single field, referencing multiple entity types...</p> <h3 id="summary-remaining-tasks">Remaining tasks</h3> <h3>Optional: Other details as applicable (e.g., User interface changes, API changes, Data model changes)</h3>
issue