Class: Ace::LLM::Molecules::FormatHandlers::Text
- Defined in:
- lib/ace/llm/molecules/format_handlers.rb
Overview
Plain text format handler
Instance Method Summary collapse
-
#format(response, **_options) ⇒ String
Format response as plain text (content only).
Methods inherited from Base
#build_cost_summary, #format_cost, #generate_summary
Instance Method Details
#format(response, **_options) ⇒ String
Format response as plain text (content only)
153 154 155 156 |
# File 'lib/ace/llm/molecules/format_handlers.rb', line 153 def format(response, **) validate_response(response) response[:text] end |