Sha256: f6488fd4fb12329afe479a1f09a7b80c450d03e41ff82676062e1f06be119dd6

Contents?: true

Size: 716 Bytes

Versions: 1

Compression:

Stored size: 716 Bytes

Contents

# frozen_string_literal: true

require_relative "llm_orchestrator/version"
require_relative "llm_orchestrator/prompt"
require_relative "llm_orchestrator/chain"
require_relative "llm_orchestrator/llm"
require_relative "llm_orchestrator/memory"

module LlmOrchestrator
  class Error < StandardError; end
  
  class << self
    attr_accessor :configuration
    
    def configure
      self.configuration ||= Configuration.new
      yield(configuration) if block_given?
    end
  end
  
  class Configuration
    attr_accessor :default_llm_provider, :openai_api_key, :claude_api_key
    
    def initialize
      @default_llm_provider = :openai
      @openai_api_key = nil
      @claude_api_key = nil
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
llm_orchestrator-0.1.0 lib/llm_orchestrator.rb