Hello there!
Is it possible for an agent to access and analyse the content of the *parent* page of the one where it's started from?
If so, how?
Best regards,
Christian
Hi @Christian Walther - welcome to the Community!
The Agent needs access to that page - as long as its knowledge base is not limited to the specific child page, Rovo can access the parent with no issue.
Have you tried simply prompting something along the lines of
"Analyze the parent of the current content" /
"Analyze the parent page of the current content" /
"Find the parent page of the current content, analyze it and do *something* with it"
?
Hi Rebekka,
thanks a lot for your suggestions. I tried them, and the result is not comprehensible to me.
For example: "Analyze the parent page of the current content"
Case 1: I use the prompt directly in the Rovo chat.
It picks a random page (sometimes also itself). Sometimes it states "the parent page is likely XY". There is no reliable, reproducible result.
Case 2: I use the prompt in an agent that is executed on the child page.
It says that no parent page was found.
Generally, do I understand correctly that in Confluence, the term "parent page" refers to the hierarchy in the page tree on the left?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I would have thought so anyway. I double checked the API. They use "ancestor", "descendant" and "content tree".
I tested both these prompts:
What is this content’s ancestor?
Gave me the correct parent, as long as that was a regular page. It did not work for folders.
What is the parent page of this page?
Gave me either nothing (where parent was a folder) or a random page (where parent was a page).
What is the parent page of this page? Use the content tree as reference.
Was more helpful. Waaaay quicker response time and it gave me the actual result.
What is this content’s ancestor? Use the content tree as reference. It may be a folder. In that case, give me the link and name of the folder regardless.
Gave me wrong results after a long time computing for a page where the parent is a folder.
Seems like Rovo does NOT like Folders and also needs to be reminded, that there is something like the content tree.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks again! I tried all of the above. It works for some pages and doesn't work for others (not related to folders, though). I would need a reliable method, but I think this might be a technical problem of our page structure. Maybe it stops working reliably when you move pages from one parent page to another - not quite sure.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.