Goals Module
Goals in the cApp Framework
Goals are one of the fundamental primitives in the cApp framework. They define what an AI agent should accomplish and serve as the guiding structure for its task execution. Goals are designed to encapsulate the desired outcomes, constraints, and preferences that guide the agent's actions, enabling it to operate effectively and autonomously in a wide range of commerce-related scenarios.
Characteristics of Goals
Purpose-driven: Goals articulate specific outcomes or tasks for the agent.
Flexible: Goals adapt to varying user needs and contexts.
Parameterizable: Goals can include user preferences, constraints, and dynamic inputs to fine-tune the agent’s behavior.
Composable: Multiple Goals can be combined or sequenced for complex workflows.
Example Goal: Finding a Flight for a User
Below is a sample Goal that instructs an agent to find a flight for a user based on their preferences and requirements.
Sample Goal Definition
This example showcases how Goals in the cApp framework can be precisely defined to guide the agent’s actions while maintaining flexibility to accommodate user needs.
Last updated