-
Apologies if this is the wrong place to ask a question - I'm newish to programming and Github. Thanks in advance for help! Question: what's the optimal way to start a workflow without using PromptTask? I'm attempting to use BaseTask to start a workflow by printing a comment of "starting workflow," but can't get it to work. For context, I'm following along with this tutorial: https://learn.griptape.ai/latest/courses/compare-movies-workflow/04_adding_flexibility/ and I can't get it to work (the example code doesn't work, either). I believe I need to create a start_task, hence why I'm reaching out. Note that in the example code provided from the tutorial, start_task doesn't appear to be defined.
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hi @benji-ai - so sorry I didn't see this earlier! Feel free to chat with us in our Discord channel - that's a great place to ask questions to the team: https://discord.gg/9hWfamRPS6 Thank you for pointing out the start_task is missing! It used to be there, so I'll have to figure out how ti disappeared - I'll fix it right now! |
Beta Was this translation helpful? Give feedback.
-
I've added back the code, and you were absolutely correct with the location you wanted to put the start task. It would look something like:
I've updated the site! Thanks again :) |
Beta Was this translation helpful? Give feedback.
I've added back the code, and you were absolutely correct with the location you wanted to put the start task.
It would look something like:
I've updated the site! Thanks again :)
-Jason