Conversation
8978998 to
eb5cd97
Compare
6aeee5c to
4d0c2a9
Compare
|
okay, thinking out loud here ... let's collect some use-cases here:
if i get it right, the main difference to processors is, that users by design influence it per agent call, right? so i would configure an agent with a SpeechPolicy, and i would configure the usage of it via state object in why "policy"? doesn't click with me directly .. what about "behaviour"? my bottonline:
|
Just for example here, can't implement the stt-tts one without this PR 😄
Input/Output evaluation as we might have a situation where you're configuring the
Could be something to explore.
Why not 😄
Yes, kind of, "policies" are here to be like stamps on messages or "feature-flags", if you take the speech one, the current implementation is not perfect as once it's configured, all agents have it, thanks to policies, you can decide at runtime which agent will receive specific speech configuration (and you can even change after defining them) depending on a particular situation. The name is open to debate, I used policies as I mentioned them during our conversation on the agent, after thinking about it, maybe
Actually yes, one solution might be to define a
Actually, I might have another example for policies/capabilities/nametodefine with "delegating" agents, could be something to explore on this PR (not a load of work to do). |
|
Should be mentioned here IMHO: https://symfony.com/doc/current/ai/index.html#key-features |
e1a271c to
72e6d62
Compare
72e6d62 to
f78d7cf
Compare
|
Hi @chr-hertel @OskarStark 👋 Just pushed a refactoring of "policies", name is now |
This PR aims to introduce the support for "policies" at the
Agentlevel, Policies are a way to enable/disable features in agents (think of it like stamps onMessengermessages` or "feature-flags").This PR is an extension of a discussion with @chr-hertel last week about the refactoring of
Agent, the main goal is to allow adding new features depending on the configuration of an agent and the enabled policies (for example, we might want to enableSpeechPolicyto add the support for Speech as implemented in #943, it can also help the introduction ofEvaluatorlater and many more).For now, two policies are implemented (for demo purpose and tests), the configuration is done and tested, same for the agent implementation.