embabel-agent
embabel-agent copied to clipboard
AgentProcessChatBot Budget Configuration
Context
We use the AgentProcessChatbot for our Agentic Chat implementation.
Problem
We want to configure the ProcessOption Budget, which by default is used to create EarlyTerminationPolicy, because long conversations might exceed the default limits.
Solution
- Allow passing of
ProcessOptionsorBudgetinAgentProcessChatbot.createSession - Allow configuration of defaults for
Budgete.g. using configuration properties
In our concrete scenario, each of the proposed solutions would be sufficient. Introducing properties for the default Budget would probably be harder to implement, as ProcessOptions and Budget are Pojos.
See https://github.com/embabel/embabel-agent/pull/1624 for a possible implementation. I didn't know whether you required backwards compatibility of the API in this stage of the project.