rakam_systems.generation.agents.Agent

class rakam_systems.generation.agents.Agent(model: str, api_key: str)
__init__(model: str, api_key: str)

Methods

__init__(model, api_key)

add_action(action_name, action)

Adds an action to the agent's set of available actions.

choose_action(input, state)

Abstract method to select an action based on input.

execute_action(action_name, **kwargs)

Executes the selected action with the provided arguments.

process_state(**kwargs)

Build a temporary state based on the input query.