Module: Braintrust::Contrib::Integration

Included in:
Anthropic::Integration, OpenAI::Integration, RubyLLM::Integration, RubyOpenAI::Integration
Defined in:
lib/braintrust/contrib/integration.rb

Overview

Base module defining the integration contract. Include this module in integration classes to define the schema. Delegates actual patching to a Patcher subclass.

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



9
10
11
# File 'lib/braintrust/contrib/integration.rb', line 9

def self.included(base)
  base.extend(ClassMethods)
end