Class: Agents::GptClient
- Inherits:
-
Object
- Object
- Agents::GptClient
- Defined in:
- lib/gpt_clients/gpt_client.rb
Direct Known Subclasses
Instance Method Summary collapse
-
#chat(prompt: "", **args) ⇒ GPTResponse
Chats via the GPT Client, returns a GPTResponse.
-
#initialize ⇒ GptClient
constructor
A new instance of GptClient.
Constructor Details
#initialize ⇒ GptClient
Returns a new instance of GptClient.
5 6 |
# File 'lib/gpt_clients/gpt_client.rb', line 5 def initialize() end |
Instance Method Details
#chat(prompt: "", **args) ⇒ GPTResponse
Chats via the GPT Client, returns a GPTResponse
10 11 12 |
# File 'lib/gpt_clients/gpt_client.rb', line 10 def chat(prompt: "", **args) GptResponse.new("Error: No GPT Client Setup.") end |