Class: Bristow::Providers::Google
- Inherits:
-
Base
- Object
- Base
- Bristow::Providers::Google
show all
- Defined in:
- lib/bristow/providers/google.rb
Instance Attribute Summary
Attributes inherited from Base
#api_key
Instance Method Summary
collapse
Methods inherited from Base
#format_function_response, #function_arguments, #function_name, #is_function_call?
Constructor Details
#initialize(api_key:) ⇒ Google
Returns a new instance of Google.
4
5
6
7
8
|
# File 'lib/bristow/providers/google.rb', line 4
def initialize(api_key:)
super
@client = nil
end
|
Instance Method Details
#chat(params) ⇒ Object
10
11
12
|
# File 'lib/bristow/providers/google.rb', line 10
def chat(params)
raise NotImplementedError, "Google provider not yet implemented"
end
|
#default_model ⇒ Object
24
25
26
|
# File 'lib/bristow/providers/google.rb', line 24
def default_model
"gemini-pro"
end
|
18
19
20
21
22
|
# File 'lib/bristow/providers/google.rb', line 18
def format_functions(functions)
raise NotImplementedError, "Google provider not yet implemented"
end
|
#stream_chat(params, &block) ⇒ Object
14
15
16
|
# File 'lib/bristow/providers/google.rb', line 14
def stream_chat(params, &block)
raise NotImplementedError, "Google provider not yet implemented"
end
|