Class: RubyLLM::Evals::PromptExecutions::FailuresController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- RubyLLM::Evals::PromptExecutions::FailuresController
- Includes:
- PromptExecutionScoped
- Defined in:
- app/controllers/ruby_llm/evals/prompt_executions/failures_controller.rb
Instance Method Summary collapse
Instance Method Details
#create ⇒ Object
7 8 9 10 11 |
# File 'app/controllers/ruby_llm/evals/prompt_executions/failures_controller.rb', line 7 def create @prompt_execution.update! passed: false redirect_to @prompt_execution.run, notice: "Prompt execution marked as failed.", status: :see_other end |