Module: Olyx::Guardrails::Llm::AnalysisNormalizer
- Defined in:
- lib/olyx/guardrails/llm/analysis_normalizer.rb
Overview
Converts supported schema-model results into Hash values.
Class Method Summary collapse
Class Method Details
.call(value) ⇒ Object
10 11 12 13 14 15 |
# File 'lib/olyx/guardrails/llm/analysis_normalizer.rb', line 10 def call(value) return value if value.is_a?(Hash) converted = convert(value) converted if converted.is_a?(Hash) end |