How can I get AI Studio to tag collaborators in a comment correctly?

Hi all,

I have a fill by ai workflow that is supposed to tag collaborators as part of the comment. My instructions begin with “Tag the collaborators”. Ai Studio will correctly do an @ name, but in the comment, it just comes out as plain text. Out of 15-20 tries, it worked correctly once. Is there a more explicit prompt that could help here?

1 Like

Hi @Sako_Kassabian , perhaps try ‘add’ instead of ‘tag’ collaborators…?

I’m assuming your instructions also include context for the AI to reason its choice of collaborators, right?

Hi @Richard_Sather Unfortunately this didn’t work either. My instructions read, " Add the collaborators but exclude the assignee" I provide an example output with myself added/tagged.

Are you sure you have the last option selected in the guidance box?

2 Likes

I haven’t tested but maybe use a verb like “at-mention” or “@mention” perhaps, in addition to the above suggestion?

Thanks,

Larry

2 Likes

yes, I did make that change.

I followed your logic a bit and what looks to have solved it is using this prompt - Mention and link collaborators so that they receive a notification…

4 Likes

Could you share a view of your full rule and how you built this out? I’d like to do the same for our project but I’m not 100% on the full setup.

The rule itself is pretty simple for this step.

When task status is changed to complete > Add comment in task (select fill by AI)

My full instructions to the AI are:

Mention and link collaborators so that they receive a notification but exclude the assignee. If there are multiple collaborators, separate them by comma. Underneath the add collaborators write This task is now complete, if you’d like to submit a survey (optionally Anonymous) you can do so here: [Link]

An example output should look like below assuming 1 collaborator:

Hi [@Name]

This task is now complete, if you’d like to submit a survey (optionally Anonymous) you can do so here: [Link]

1 Like