Rajan Sharma
11/22/2024, 5:52 AMBianca Hoch
11/22/2024, 3:58 PMBianca Hoch
11/22/2024, 4:00 PMRajan Sharma
11/23/2024, 10:39 AMSoham Sarkar
11/24/2024, 10:24 AMTask and Agent is functionally the same concept right?
Other than the fact that you can assign an agent to a task both accept the same arguments and execute after instantiation using the run() method respectively.
So when I create a new agent and define instructions and user message params and run it as agent.run() it will automatically create a Task for that agent and that agent will be the value of the list of agents arg that the Task object accepts?
You could also always just define tasks with instruction and tools without ever having to Agents correct?Constantin Teo
11/25/2024, 1:06 PMConstantin Teo
11/25/2024, 1:09 PMBianca Hoch
11/25/2024, 3:25 PMSoham Sarkar
11/25/2024, 4:59 PMinstructions property for both the Task and the Agent? I'm assuming the instructions property is the same as an LLM "System Message" in which case where does the Task System Message get appended?Jeremiah
Soham Sarkar
11/26/2024, 4:49 AMFlavio Oliveira
11/26/2024, 8:07 AMBrock
11/28/2024, 1:21 AMJeremiah
Jeremiah
Jeremiah
Soham Sarkar
12/02/2024, 7:03 PMinstructions and objective is then always appended as an LLM user message for the agent?
In OpenAI specification it would be something like
For a given controlflow agent:
messages: [
{ role: "system", content: "{cf.agent instructions}" },
{
role: "user",
content: "cf.task {objectives}/ncf.task{instructions}",
}
Is this the correct understanding from cf -> LLM call?