Class: Legion::LLM::Audit::PromptEvent
Constant Summary
Transport::Message::LLM_ENVELOPE_KEYS
Instance Method Summary
collapse
#app_id, #correlation_id, #message, #message_context, #message_id, #tracing_headers
Instance Method Details
#encrypt? ⇒ Boolean
13
|
# File 'lib/legion/llm/audit/prompt_event.rb', line 13
def encrypt? = true
|
#expiration ⇒ Object
14
|
# File 'lib/legion/llm/audit/prompt_event.rb', line 14
def expiration = nil
|
16
17
18
|
# File 'lib/legion/llm/audit/prompt_event.rb', line 16
def
super.merge().merge().merge().merge()
end
|
#priority ⇒ Object
12
|
# File 'lib/legion/llm/audit/prompt_event.rb', line 12
def priority = 0
|
#routing_key ⇒ Object
11
|
# File 'lib/legion/llm/audit/prompt_event.rb', line 11
def routing_key = "audit.prompt.#{@options[:request_type]}"
|
#type ⇒ Object
9
|
# File 'lib/legion/llm/audit/prompt_event.rb', line 9
def type = 'llm.audit.prompt'
|