You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, invoking an agent requires all the overhead of creating and completing a task. Sometimes we may want to guide an agent by prompting it with specific information. in this case, it would be great to say something to an agent.
At a minimum, this could add a user message to the flow (which could also be done as a direct flow attribute, but we could record that the specific agent was the intended target of the message, which would otherwise be public). More useful would be to also invoke the agent for one turn to get it to respond and, in doing so, add knowledge to the thread history.
Use Case
No response
Proposed Implementation
importcontrolflowascfagent=cf.Agent("Norbert")
agent.instruct('hello, from now on call me Arthur') # no responsereply=agent.say('hello') # gets a response
The text was updated successfully, but these errors were encountered:
Enhancement Description
Currently, invoking an agent requires all the overhead of creating and completing a task. Sometimes we may want to guide an agent by prompting it with specific information. in this case, it would be great to
say
something to an agent.At a minimum, this could add a user message to the flow (which could also be done as a direct flow attribute, but we could record that the specific agent was the intended target of the message, which would otherwise be public). More useful would be to also invoke the agent for one turn to get it to respond and, in doing so, add knowledge to the thread history.
Use Case
No response
Proposed Implementation
The text was updated successfully, but these errors were encountered: