Module: Agents

Defined in:
lib/agents.rb,
lib/logger.rb,
lib/version.rb,
lib/agents/agent.rb,
lib/actions/action.rb,
lib/requests/request.rb,
lib/agents/dispatcher.rb,
lib/agents/echo_agent.rb,
lib/responses/response.rb,
lib/actions/action_example.rb,
lib/gpt_clients/gpt_client.rb,
lib/responses/gpt_response.rb,
lib/actions/action_argument.rb,
lib/agents/gpt_agents/gpt_agent.rb,
lib/gpt_clients/echo_gpt_client.rb,
lib/gpt_clients/open_ai_gpt_client.rb,
lib/agents/gpt_agents/echo_gpt_agent.rb,
lib/agents/gpt_agents/todo_gpt_agent.rb,
lib/agents/unhandleable_request_agent.rb,
lib/agents/gpt_agents/calendar_gpt_agent.rb,
lib/agents/gpt_agents/promptless_gpt_agent.rb,
lib/agents/gpt_agents/dispatching_gpt_agent.rb,
lib/responses/unhandleable_request_response.rb,
lib/agents/gpt_agents/categorizing_gpt_agent.rb,
lib/agents/gpt_agents/information_retrieval_gpt_agent.rb

Defined Under Namespace

Classes: Action, ActionArgument, ActionExample, Agent, CalendarGptAgent, CategorizingGptAgent, Dispatcher, DispatchingGptAgent, EchoAgent, EchoGptAgent, EchoGptClient, GptAgent, GptClient, GptResponse, InformationRetrievalGptAgent, OpenAiGptClient, PromptlessGptAgent, Request, Response, TodoGptAgent, UnhandleableRequestAgent, UnhandleableRequestResponse

Constant Summary collapse

VERSION =
"0.1.2"

Class Method Summary collapse

Class Method Details

.loggerObject



10
11
12
# File 'lib/logger.rb', line 10

def self.logger
  @logger ||= Logger.new(STDOUT)
end

.logger=(logger) ⇒ Object



6
7
8
# File 'lib/logger.rb', line 6

def self.logger=(logger)
  @logger = logger
end