Class: Ecoportal::API::GraphQL::Base::Page::DataField::AiSummary

Inherits:
DataField
  • Object
show all
Defined in:
lib/ecoportal/api/graphql/base/page/data_field/ai_summary.rb

Overview

AI-generated summary field. Content is generated server-side via generateAiSummary mutation (Bedrock Claude). Not settable via DataFieldInput — use the dedicated mutation instead.

instructions: the AI prompt configured on this field in the template. trigger: "submitted" | "approved" — when generation fires. trigger_stage_ids: stages that trigger generation (empty = all stages). text_format: "simple_text" | "bullet_points" | "numbered_list" | "headings"