https://discord.gg/botpress logo
Make it easier to transition out of an autonomous ...
# 👀feature-requests
s
It is tremendously hard to transition out of an autonomous node using the transition cards. I just want to deliver a message and then continue with the workflow.
a
Use the autonomous node as a router to other workflows. Create a new workflow and place it as a card in the autonomous node. @orange-egg-72655 did a cool demonstration of this in a livestream and it works perfect for me
f
@salmon-bird-2821 Can you tell me more about your use case?
s
Hello, do you know where I can find this demonstration?
Hello, yes sure! I have an autonomous node in my workflow and I only use it to answer one question. So, it arrives to the autonomous node, it answers one question, and it should transition out of it always. I have put a true expresion in the transition card, as well as mention it in the prompt. However, some times it does not activate the transition card
w
if it's to reply only to one question, you should use AI Cards not Autonomous node AI Task and AI Generate Text https://botpress.com/docs/ai
s
Okey thank you! And if I want to just generate me text from a Knowledge base, it is better to use the Ai generate text or the Ai task?
o
@salmon-bird-2821 Go to this video:

https://www.youtube.com/watch?v=-N4OoKg_w4I

and go to the timestamp 18:53 and 28:36 where I show it working on a new bot from scratch in live action! Using an AN to route to other workflows works best for majority of use cases and it is something I advocate to be used more often in this discord as it solves a lot of issues
Check that out and let me know what you think!
Yep! I did that in a livestream and put it in the new video i created
Glad it helped
s
Thank you Matthew. But in my case I dont want to use it as a router, but as a question answerer itself. I cannot use it AI task or AI generate because it is quite complex, as it involves retrieving images. However, I managed it to achieve it putting at the end of the prompt activate workflow.transition. Although it would be easier if there could be an option to exit the autonomous node after x answers. Something like force classify.
o
Join the livestream in the office hours, Im about to begin. I would love to chat with you
@salmon-bird-2821
s
I am in a meeting right know but I finish at 17:00. If you are still there I will connect 🙂
in 25 minutes