Skip to content

Commit 19665fc

Browse files
Update configuration
1 parent f548c52 commit 19665fc

27 files changed

Lines changed: 772 additions & 222 deletions

composer.lock

Lines changed: 585 additions & 179 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
uuid: fd7dc61a-043d-402a-b338-d5e90189adbb
2+
langcode: en
3+
status: true
4+
dependencies:
5+
enforced:
6+
module:
7+
- helfi_ai
8+
_core:
9+
default_config_hash: ydsVBYWgaLdBv9QyIJrFzhnmxdWKNdfQHB97ZoT8LZo
10+
id: helfi_content_summary__helfi_content_summary_default
11+
label: 'HELfi content summary (default)'
12+
type: helfi_content_summary
13+
prompt: |
14+
You are an expert content editor for the City of Helsinki website.
15+
Summarize the following page content in {language}.
16+
Respond with 4–6 short, factual bullet point sentences.
17+
Write each bullet point on its own line with no list markers or extra punctuation.
18+
Do not add any introduction, closing remarks, or formatting.
19+
20+
Page content:
21+
{content}
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
uuid: 37db4fec-51a5-4e2e-84bb-8964524ca1e6
2+
langcode: en
3+
status: true
4+
dependencies:
5+
enforced:
6+
module:
7+
- helfi_ai
8+
_core:
9+
default_config_hash: JPtAvKGGBQ07J8Fdhs0JebXz8UwNmYwlhte-iM1T-7U
10+
id: helfi_content_summary
11+
label: 'HELfi content summary'
12+
variables:
13+
-
14+
name: content
15+
help_text: 'The page content as plain text'
16+
required: true
17+
-
18+
name: language
19+
help_text: 'The target language name (e.g. Finnish, Swedish)'
20+
required: true
21+
tokens: { }
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
_core:
2+
default_config_hash: FNT2zzMLKeg6TviGJAYUvRSjAJmBvmdLnh9USO58MAc
3+
moderations: { }

conf/cmi/ai.settings.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
_core:
2+
default_config_hash: WWvo9_41v-oaqjbKdBtohSrem-s9w-7MIfvCWjZvAI4
3+
prompt_logging: false
4+
prompt_logging_tags: ''
5+
default_providers: { }
6+
request_timeout: 60
7+
allowed_hosts: { }
8+
allowed_hosts_rewrite_links: false
9+
global_guardrails: { }
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
_core:
2+
default_config_hash: n8d9zmHaY_jzBauKifUlQUzu6sc-bDuV86dO275jJfA
3+
data: ''

conf/cmi/core.entity_form_display.node.announcement.default.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,7 @@ content:
175175
settings: { }
176176
third_party_settings: { }
177177
hidden:
178+
ai_summary: true
178179
hide_sidebar_navigation: true
179180
promote: true
180181
sticky: true

conf/cmi/core.entity_form_display.node.landing_page.default.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,4 +180,5 @@ content:
180180
settings: { }
181181
third_party_settings: { }
182182
hidden:
183+
ai_summary: true
183184
hide_sidebar_navigation: true

conf/cmi/core.entity_form_display.node.page.default.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,4 +241,5 @@ content:
241241
region: content
242242
settings: { }
243243
third_party_settings: { }
244-
hidden: { }
244+
hidden:
245+
ai_summary: true

conf/cmi/core.entity_form_display.node.survey.default.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@ content:
128128
settings: { }
129129
third_party_settings: { }
130130
hidden:
131+
ai_summary: true
131132
hide_sidebar_navigation: true
132133
promote: true
133134
sticky: true

0 commit comments

Comments
 (0)