Right now we have a bandaid solution for managing what we are currently calling 'artifacts' but what might be more akin to a 'handle' in programming. Basically a reference(or token) that can be passed around by AI that refers to a resource(or in our case to temporary storage). This is similar to Drupal's token system, and we can definitely decide how much of that to try and reuse, but the primary difference is the need to handle the temporary storag aspect. So instead of [node:1]
, we may need [node:lHkls5]
, where node may be modified by multiple tools before writing back to permanent storage. The purpose of the hash is to separate where the same entity is loaded multiple times, but could be acted upon in separate tool chains (load node 1 -> set field value -> load node 1 again -> diff the two -> save changed version).
Additionally, the handle/token needs to communicate the appropriate metadata where AI can understand enough about what the source is that is associated with the reference. For example, a reference to [node:lHkls5]
, may need to be aware of new/existing, base fields(bundle, langcode, id, revision id), etc so that it's able to make subsequent tool calls and that we haven't hidden away all metadata of the referenced resource.
TBD.
Active
1.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
No activities found.