user_adaptation_processor#
- class besser.agent.core.processors.user_adaptation_processor.UserAdaptationProcessor(agent, llm_name, context=None)[source]#
Bases:
Processor
The UserAdaptationProcessor takes into account the user’s profile and adapts the agent’s responses to fit the profile. The goal is to increase the user experience.
This processor leverages LLMs to adapt the messages given a user profile. For static profiles, an adaptation will be done once. If the profile changes, then an adapation will be triggered again.
- Parameters:
- _context#
additional context to improve the adaptation. should include information about the agent itself
- Type:
- and the task it should accomplish
- _abc_impl = <_abc._abc_data object>#
- add_user_model(session, user_model)[source]#
Method to store the user model internally.
The user model shall be stored internally.