Hi, I want to build an agent that:
- reads a text and extracts series and platform titles
- and then searches for the rating on IMDb for each one. The extraction works correctly.
I have:
{“items”:[{“title”:“Adolescence”,“platform”:“netflix”},{“title”:“Dept. Q”,“platform”:“netflix”},{“title”:“North of North”,“platform”:“netflix”},{“title”:“The Residence”,“platform”:“netflix”},{“title”:“Squid Game”,“platform”:“netflix”},{“title”:“The Queen’s Gambit”,“platform”:“netflix”},{“title”:“Breaking Bad”,“platform”:“netflix”}]}
Poi ho aggiunto un while loop con size(input.output_text )>0
Then I hook the while loop to an agent that searches the web on imbd, but it crashes. Why?
It’s as if the logic is wrong.
Thank you very much.
