Class: Aireview::LlmClient::Prompt
- Inherits:
-
Struct
- Object
- Struct
- Aireview::LlmClient::Prompt
- Defined in:
- lib/aireview/llm_client.rb
Overview
What a stage sends to the model; the same for every route of the stage.
Instance Attribute Summary collapse
-
#schema ⇒ Object
Returns the value of attribute schema.
-
#stage ⇒ Object
Returns the value of attribute stage.
-
#system ⇒ Object
Returns the value of attribute system.
-
#temperature ⇒ Object
Returns the value of attribute temperature.
-
#user ⇒ Object
Returns the value of attribute user.
Instance Method Summary collapse
Instance Attribute Details
#schema ⇒ Object
Returns the value of attribute schema
14 15 16 |
# File 'lib/aireview/llm_client.rb', line 14 def schema @schema end |
#stage ⇒ Object
Returns the value of attribute stage
14 15 16 |
# File 'lib/aireview/llm_client.rb', line 14 def stage @stage end |
#system ⇒ Object
Returns the value of attribute system
14 15 16 |
# File 'lib/aireview/llm_client.rb', line 14 def system @system end |
#temperature ⇒ Object
Returns the value of attribute temperature
14 15 16 |
# File 'lib/aireview/llm_client.rb', line 14 def temperature @temperature end |
#user ⇒ Object
Returns the value of attribute user
14 15 16 |
# File 'lib/aireview/llm_client.rb', line 14 def user @user end |
Instance Method Details
#chars ⇒ Object
15 16 17 |
# File 'lib/aireview/llm_client.rb', line 15 def chars system.length + user.length end |