class Riffer::Config
Configuration for the Riffer framework.
Provides configuration options for AI providers and other settings.
Riffer.config.openai.api_key = βsk-β¦β
Riffer.config.amazon_bedrock.region = βus-east-1β Riffer.config.amazon_bedrock.api_token = ββ¦β
Riffer.config.anthropic.api_key = βsk-ant-β¦β
Riffer.config.evals.judge_model = βanthropic/claude-sonnet-4-20250514β
Constants
- AmazonBedrock
- Anthropic
- Evals
- OpenAI
Attributes
Amazon Bedrock configuration (Struct with +api_token+ and +region+).
Anthropic configuration (Struct with +api_key+).
OpenAI configuration (Struct with +api_key+).
Public Class Methods
Source
# File lib/riffer/config.rb, line 36 def initialize @amazon_bedrock = AmazonBedrock.new @anthropic = Anthropic.new @openai = OpenAI.new @evals = Evals.new end
: () -> void