Module: Soka
- Defined in:
- lib/soka.rb,
lib/soka/llm.rb,
lib/soka/agent.rb,
lib/soka/memory.rb,
lib/soka/result.rb,
lib/soka/version.rb,
lib/soka/llms/base.rb,
lib/soka/agent_tool.rb,
lib/soka/llms/gemini.rb,
lib/soka/llms/openai.rb,
lib/soka/engines/base.rb,
lib/soka/configuration.rb,
lib/soka/engines/react.rb,
lib/soka/llms/anthropic.rb,
lib/soka/engines/prompts.rb,
lib/soka/thoughts_memory.rb,
lib/soka/agents/dsl_methods.rb,
lib/soka/agents/llm_builder.rb,
lib/soka/agents/hook_manager.rb,
lib/soka/agents/tool_builder.rb,
lib/soka/agents/retry_handler.rb,
lib/soka/engines/prompts/base.rb,
lib/soka/engines/reasoning_context.rb,
lib/soka/agent_tools/params_validator.rb,
lib/soka/engines/prompts/instructions.rb,
lib/soka/engines/prompts/format_helpers.rb,
lib/soka/engines/prompts/workflow_rules.rb,
lib/soka/engines/concerns/result_builder.rb,
lib/soka/engines/concerns/response_parser.rb,
lib/soka/engines/concerns/response_processor.rb
Overview
Main module for the Soka ReAct Agent Framework Provides AI agent capabilities with multiple LLM providers support
Defined Under Namespace
Modules: AgentTools, Agents, Engines, LLMs Classes: Agent, AgentError, AgentTool, Configuration, ConfigurationError, Error, LLM, LLMError, Memory, MemoryError, Result, ThoughtsMemory, ToolError
Constant Summary collapse
- VERSION =
'0.0.8'
Class Attribute Summary collapse
-
.configuration ⇒ Object
Returns the value of attribute configuration.
Class Method Summary collapse
Class Attribute Details
.configuration ⇒ Object
Returns the value of attribute configuration.
18 19 20 |
# File 'lib/soka.rb', line 18 def configuration @configuration end |
Class Method Details
.configure ⇒ Object
25 26 27 |
# File 'lib/soka.rb', line 25 def configure(&) setup(&) end |
.reset! ⇒ Object
29 30 31 |
# File 'lib/soka.rb', line 29 def reset! self.configuration = Configuration.new end |
.setup {|configuration| ... } ⇒ Object
20 21 22 23 |
# File 'lib/soka.rb', line 20 def setup self.configuration ||= Configuration.new yield(configuration) if block_given? end |