blob: 0bea7586b8db5b6ab1b6b417981ffcc07ea3a667 (
about) (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
# frozen_string_literal: true
require 'openai'
module NanoBot
module Components
module Providers
class Base
def initialize(_options, _settings, _credentials, _environment: {})
raise NoMethodError, "The 'initialize' method is not implemented for the current provider."
end
def evaluate(_payload)
raise NoMethodError, "The 'evaluate' method is not implemented for the current provider."
end
end
end
end
end
|