Class: Ecoportal::API::GraphQL::Mutation::AiSummary::Generate

Inherits:
Logic::Mutation
  • Object
show all
Defined in:
lib/ecoportal/api/graphql/mutation/ai_summary/generate.rb

Overview

Triggers AI summary generation for a page or stage. Returns an AiSummaryVersion with the generated text and token usage. Generation is synchronous — the response contains the result or an error.

stageId is optional: omit for page-level summary, provide for stage-level.

Method Summary

Methods inherited from Logic::Mutation

#query, #response_class