Module: Raif::Concerns::LlmDataRetention

Extended by:
ActiveSupport::Concern
Included in:
Agent, Raif::Conversation, Task
Defined in:
app/models/raif/concerns/llm_data_retention.rb

Overview

Per-class override of the provider data retention settings. A nil class attribute (the default) defers to Raif.config, so a subclass opts out of the app-wide posture only by saying so explicitly:

class MyTask < Raif::Task
self.open_ai_store_responses = true
end

Raif::Llm#chat takes the same three keyword arguments for a one-off override.