Class: Cloudflare::AI::Results::Summarization

Inherits:
Cloudflare::AI::Result
  • Object
show all
Defined in:
lib/cloudflare/ai/results/summarization.rb

Instance Method Summary collapse

Instance Method Details

#summaryObject



2
3
4
# File 'lib/cloudflare/ai/results/summarization.rb', line 2

def summary
  result&.dig(:summary) # nil if no response
end