Class: Agents::EchoGptClient
- Defined in:
- lib/gpt_clients/echo_gpt_client.rb
Instance Method Summary collapse
-
#chat(prompt: "", **args) ⇒ GPTResponse
Returns the input prompt as the output.
Methods inherited from GptClient
Constructor Details
This class inherits a constructor from Agents::GptClient
Instance Method Details
#chat(prompt: "", **args) ⇒ GPTResponse
Returns the input prompt as the output.
7 8 9 |
# File 'lib/gpt_clients/echo_gpt_client.rb', line 7 def chat(prompt: "", **args) GptResponse.new(prompt.to_s) end |