Class: GenAI::Chat
- Inherits:
-
Object
- Object
- GenAI::Chat
- Extended by:
- Forwardable
- Defined in:
- lib/gen_ai/chat.rb,
lib/gen_ai/chat/base.rb,
lib/gen_ai/chat/gemini.rb,
lib/gen_ai/chat/open_ai.rb,
lib/gen_ai/chat/anthropic.rb,
lib/gen_ai/chat/google_palm.rb
Defined Under Namespace
Classes: Anthropic, Base, Gemini, GooglePalm, OpenAI
Instance Method Summary collapse
-
#initialize(provider, token, options: {}) ⇒ Chat
constructor
A new instance of Chat.
Constructor Details
#initialize(provider, token, options: {}) ⇒ Chat
Returns a new instance of Chat.
9 10 11 |
# File 'lib/gen_ai/chat.rb', line 9 def initialize(provider, token, options: {}) build_chat(provider, token, ) end |