Class: Coolhand::FeedbackService

Inherits:
ApiService show all
Defined in:
lib/coolhand/feedback_service.rb

Instance Attribute Summary

Attributes inherited from ApiService

#api_endpoint

Instance Method Summary collapse

Methods inherited from ApiService

#api_key, #base_url, #configuration, #debug_mode?, #send_llm_request_log, #silent

Constructor Details

#initializeFeedbackService

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