Thanks Connor. I've found that the pattern of using a Tools Agent to breakdown a topic into a table of contents (what the Research Leader does), followed by Project Planner who maps that to tasks to the Assistants using JSON structured output in the OpenAI node to work very dependably. In my testing this pattern is very consistent in producing good results. I tried having a React agent trying to breakdown the work and also getting JSON structured output to harder to get the right results. So the short answer is really evaluation feedback loop to see what works best for the use case :-)
Great question. The main reason is to access parameters specific to perplexity.ai for example the ability to specify how recent you want the citations. In the perplexity API, you can say day, week, month. This is an important option especially when dealing with recent news events.
Very valuable
Thanks very much!
Really cool! Can you explain why you didn’t go with making the Project Planner a ReAct agent for breaking down what was needed?
Thanks Connor. I've found that the pattern of using a Tools Agent to breakdown a topic into a table of contents (what the Research Leader does), followed by Project Planner who maps that to tasks to the Assistants using JSON structured output in the OpenAI node to work very dependably. In my testing this pattern is very consistent in producing good results. I tried having a React agent trying to breakdown the work and also getting JSON structured output to harder to get the right results. So the short answer is really evaluation feedback loop to see what works best for the use case :-)
@ makes sense. Thank you for the explanation!
Great stuff! Will you be adding this to your Udemy Course. Thx
Thanks Taylor! Yes, that's the plan. It's going through the Udemy publishing process now :-)
@@derekcheungsa Great thank you ;)
Published :-)
@@derekcheungsa Thank you!
Why don't use the openrouter?
Great question. The main reason is to access parameters specific to perplexity.ai for example the ability to specify how recent you want the citations. In the perplexity API, you can say day, week, month. This is an important option especially when dealing with recent news events.