Class: Coolhand::FeedbackService
- Inherits:
-
ApiService
- Object
- ApiService
- Coolhand::FeedbackService
- Defined in:
- lib/coolhand/feedback_service.rb
Instance Attribute Summary
Attributes inherited from ApiService
Instance Method Summary collapse
- #create_feedback(feedback) ⇒ Object
-
#initialize ⇒ FeedbackService
constructor
A new instance of FeedbackService.
Methods inherited from ApiService
#api_key, #base_url, #configuration, #debug_mode?, #send_llm_request_log, #silent
Constructor Details
#initialize ⇒ FeedbackService
Returns a new instance of FeedbackService.
7 8 9 |
# File 'lib/coolhand/feedback_service.rb', line 7 def initialize super("v2/llm_request_log_feedbacks") end |
Instance Method Details
#create_feedback(feedback) ⇒ Object
11 12 13 |
# File 'lib/coolhand/feedback_service.rb', line 11 def create_feedback(feedback) super(feedback, "manual") end |