Last active
May 10, 2025 09:30
-
-
Save bathtimefish/7b2124f4dc83e1be81332ce96108894b to your computer and use it in GitHub Desktop.
県知事記者会見エージェント
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
app: | |
description: '' | |
icon: 🤖 | |
icon_background: '#FFEAD5' | |
mode: advanced-chat | |
name: 県知事記者会見エージェント | |
use_icon_as_answer_icon: false | |
dependencies: | |
- current_identifier: null | |
type: marketplace | |
value: | |
marketplace_plugin_unique_identifier: langgenius/openai:0.0.22@fa668d0ec3b434270453ede311196acaad0531ad9e3d5561cd622e6508cd3254 | |
kind: app | |
version: 0.2.0 | |
workflow: | |
conversation_variables: | |
- description: '' | |
id: 75241e0f-f4ac-4268-a0d8-2933c2cd73b2 | |
name: ans4 | |
selector: | |
- conversation | |
- ans4 | |
value: 私自身が県政を前に進めていくことが重要だと考えております。 | |
value_type: string | |
- description: '' | |
id: b2db9265-c77d-4629-a162-8563147d6331 | |
name: ans3 | |
selector: | |
- conversation | |
- ans3 | |
value: 一般論の法解釈として重く受け止めとめた上で、今後も県として適切な対応を取っていきたいと思います。 | |
value_type: string | |
- description: '' | |
id: 4747fab3-30a6-488b-98c3-26dfad6eee0b | |
name: ans2 | |
selector: | |
- conversation | |
- ans2 | |
value: 今後の対応を検討していきたいと思います。 | |
value_type: string | |
- description: '' | |
id: 558717bb-aa4e-422d-9c56-e570801ee270 | |
name: ans1 | |
selector: | |
- conversation | |
- ans1 | |
value: 県としての対応は適切だったと認識しております。 | |
value_type: string | |
- description: '' | |
id: 3b998269-c658-424b-ae20-c95c52773ab9 | |
name: temp_answer | |
selector: | |
- conversation | |
- temp_answer | |
value: ご指摘は重く受け止めた上で、襟を正して私自身が県政を前に進めていくことが重要だと考えております。 | |
value_type: string | |
environment_variables: [] | |
features: | |
file_upload: | |
allowed_file_extensions: | |
- .JPG | |
- .JPEG | |
- .PNG | |
- .GIF | |
- .WEBP | |
- .SVG | |
allowed_file_types: | |
- image | |
allowed_file_upload_methods: | |
- local_file | |
- remote_url | |
enabled: false | |
fileUploadConfig: | |
audio_file_size_limit: 50 | |
batch_count_limit: 5 | |
file_size_limit: 15 | |
image_file_size_limit: 10 | |
video_file_size_limit: 100 | |
workflow_file_upload_limit: 10 | |
image: | |
enabled: false | |
number_limits: 3 | |
transfer_methods: | |
- local_file | |
- remote_url | |
number_limits: 3 | |
opening_statement: '' | |
retriever_resource: | |
enabled: true | |
sensitive_word_avoidance: | |
enabled: false | |
speech_to_text: | |
enabled: false | |
suggested_questions: [] | |
suggested_questions_after_answer: | |
enabled: false | |
text_to_speech: | |
enabled: false | |
language: '' | |
voice: '' | |
graph: | |
edges: | |
- data: | |
isInLoop: false | |
sourceType: start | |
targetType: question-classifier | |
id: 1746841655180-source-1746841677983-target | |
source: '1746841655180' | |
sourceHandle: source | |
target: '1746841677983' | |
targetHandle: target | |
type: custom | |
zIndex: 0 | |
- data: | |
isInIteration: false | |
isInLoop: false | |
sourceType: question-classifier | |
targetType: assigner | |
id: 1746841677983-1-1746843982962-target | |
source: '1746841677983' | |
sourceHandle: '1' | |
target: '1746843982962' | |
targetHandle: target | |
type: custom | |
zIndex: 0 | |
- data: | |
isInIteration: false | |
isInLoop: false | |
sourceType: question-classifier | |
targetType: assigner | |
id: 1746841677983-2-1746844319382-target | |
source: '1746841677983' | |
sourceHandle: '2' | |
target: '1746844319382' | |
targetHandle: target | |
type: custom | |
zIndex: 0 | |
- data: | |
isInIteration: false | |
isInLoop: false | |
sourceType: question-classifier | |
targetType: assigner | |
id: 1746841677983-1746842262392-1746844335048-target | |
source: '1746841677983' | |
sourceHandle: '1746842262392' | |
target: '1746844335048' | |
targetHandle: target | |
type: custom | |
zIndex: 0 | |
- data: | |
isInIteration: false | |
isInLoop: false | |
sourceType: question-classifier | |
targetType: assigner | |
id: 1746841677983-1746842690658-1746844348477-target | |
source: '1746841677983' | |
sourceHandle: '1746842690658' | |
target: '1746844348477' | |
targetHandle: target | |
type: custom | |
zIndex: 0 | |
- data: | |
isInIteration: false | |
isInLoop: false | |
sourceType: assigner | |
targetType: llm | |
id: 1746843982962-source-1746844380694-target | |
source: '1746843982962' | |
sourceHandle: source | |
target: '1746844380694' | |
targetHandle: target | |
type: custom | |
zIndex: 0 | |
- data: | |
isInLoop: false | |
sourceType: assigner | |
targetType: llm | |
id: 1746844319382-source-1746844380694-target | |
source: '1746844319382' | |
sourceHandle: source | |
target: '1746844380694' | |
targetHandle: target | |
type: custom | |
zIndex: 0 | |
- data: | |
isInLoop: false | |
sourceType: assigner | |
targetType: llm | |
id: 1746844335048-source-1746844380694-target | |
source: '1746844335048' | |
sourceHandle: source | |
target: '1746844380694' | |
targetHandle: target | |
type: custom | |
zIndex: 0 | |
- data: | |
isInLoop: false | |
sourceType: assigner | |
targetType: llm | |
id: 1746844348477-source-1746844380694-target | |
source: '1746844348477' | |
sourceHandle: source | |
target: '1746844380694' | |
targetHandle: target | |
type: custom | |
zIndex: 0 | |
- data: | |
isInIteration: false | |
isInLoop: false | |
sourceType: llm | |
targetType: answer | |
id: 1746844380694-source-1746844774803-target | |
source: '1746844380694' | |
sourceHandle: source | |
target: '1746844774803' | |
targetHandle: target | |
type: custom | |
zIndex: 0 | |
nodes: | |
- data: | |
desc: '' | |
selected: false | |
title: 開始 | |
type: start | |
variables: [] | |
height: 54 | |
id: '1746841655180' | |
position: | |
x: 80 | |
y: 282 | |
positionAbsolute: | |
x: 80 | |
y: 282 | |
selected: false | |
sourcePosition: right | |
targetPosition: left | |
type: custom | |
width: 244 | |
- data: | |
classes: | |
- id: '1' | |
name: 執行した施策等、首長としての対応を問題視されている場合 | |
- id: '2' | |
name: 執行した施策等の責任を問われ、辞任や減給等のペナルティを自身に課す必要性などを問われている場合 | |
- id: '1746842262392' | |
name: 執行した施策等の対応の不備、不正、違法性等を、現行の法律、条例等を引用された上で批判されている場合 | |
- id: '1746842690658' | |
name: その他の批判、問題、指摘、助言等を受けた場合 | |
desc: '' | |
instructions: '' | |
model: | |
completion_params: | |
temperature: 0.7 | |
mode: chat | |
name: gpt-4 | |
provider: langgenius/openai/openai | |
query_variable_selector: | |
- '1746841655180' | |
- sys.query | |
selected: false | |
title: 質問分類器 | |
topics: [] | |
type: question-classifier | |
vision: | |
enabled: false | |
height: 344 | |
id: '1746841677983' | |
position: | |
x: 462.9542199416103 | |
y: 265.5765378916637 | |
positionAbsolute: | |
x: 462.9542199416103 | |
y: 265.5765378916637 | |
selected: false | |
sourcePosition: right | |
targetPosition: left | |
type: custom | |
width: 244 | |
- data: | |
desc: '' | |
items: | |
- input_type: variable | |
operation: over-write | |
value: | |
- conversation | |
- ans1 | |
variable_selector: | |
- conversation | |
- temp_answer | |
write_mode: over-write | |
selected: false | |
title: 変数代入 | |
type: assigner | |
version: '2' | |
height: 88 | |
id: '1746843982962' | |
position: | |
x: 756.3190267791058 | |
y: 265.5765378916637 | |
positionAbsolute: | |
x: 756.3190267791058 | |
y: 265.5765378916637 | |
selected: false | |
sourcePosition: right | |
targetPosition: left | |
type: custom | |
width: 244 | |
- data: | |
desc: '' | |
items: | |
- input_type: variable | |
operation: over-write | |
value: | |
- conversation | |
- ans2 | |
variable_selector: | |
- conversation | |
- temp_answer | |
write_mode: over-write | |
selected: false | |
title: 変数代入 2 | |
type: assigner | |
version: '2' | |
height: 88 | |
id: '1746844319382' | |
position: | |
x: 761.7935141485511 | |
y: 381.6275631527728 | |
positionAbsolute: | |
x: 761.7935141485511 | |
y: 381.6275631527728 | |
selected: false | |
sourcePosition: right | |
targetPosition: left | |
type: custom | |
width: 244 | |
- data: | |
desc: '' | |
items: | |
- input_type: variable | |
operation: over-write | |
value: | |
- conversation | |
- ans3 | |
variable_selector: | |
- conversation | |
- temp_answer | |
write_mode: over-write | |
selected: false | |
title: 変数代入 3 | |
type: assigner | |
version: '2' | |
height: 88 | |
id: '1746844335048' | |
position: | |
x: 756.3190267791058 | |
y: 519.5765378916637 | |
positionAbsolute: | |
x: 756.3190267791058 | |
y: 519.5765378916637 | |
selected: false | |
sourcePosition: right | |
targetPosition: left | |
type: custom | |
width: 244 | |
- data: | |
desc: '' | |
items: | |
- input_type: variable | |
operation: over-write | |
value: | |
- conversation | |
- ans4 | |
variable_selector: | |
- conversation | |
- temp_answer | |
write_mode: over-write | |
selected: false | |
title: 変数代入 4 | |
type: assigner | |
version: '2' | |
height: 88 | |
id: '1746844348477' | |
position: | |
x: 756.3190267791058 | |
y: 646.5765378916637 | |
positionAbsolute: | |
x: 756.3190267791058 | |
y: 646.5765378916637 | |
sourcePosition: right | |
targetPosition: left | |
type: custom | |
width: 244 | |
- data: | |
context: | |
enabled: false | |
variable_selector: [] | |
desc: '' | |
model: | |
completion_params: {} | |
mode: chat | |
name: gpt-4 | |
provider: langgenius/openai/openai | |
prompt_template: | |
- id: 32fb2896-248a-442a-b212-16e83c0c4bce | |
role: system | |
text: 'あなたは現在、記者会見の最中です。#入力 に記載されているユーザーからの入力に対する適切な回答文を以下の条件に従って出力してください。 | |
# 条件 | |
1. あなたはとある県の知事であり、県政に対する最高執行権限を担い、県民に対する重大な責任を担う立場である | |
2. あなたは現在定例記者会見の最中であり、それを意識した回答文を作成するべきである | |
3. 回答文は #回答案 欄の回答案の文を必ず含むこと | |
4. ユーザーからの入力内容を過去の対話履歴も勘案した上で、それに対応する適切な冒頭文を #冒頭文例 を参考にして選択し、それを自然な回答文となるよう適切に合成して回答文として出力すること | |
5. 出力は回答文のみとし、その他一切の出力を禁じる | |
# 入力 | |
{{#sys.query#}} | |
# 回答案 | |
{{#conversation.temp_answer#}} | |
# 冒頭文例 | |
- いただいたご意見は、 | |
- ご指摘いただいた点に関しては、 | |
- ご指摘は真摯に受け止めた上で、 | |
- ご指摘は重く受け止めます。その上で、 | |
- ご指摘は真摯に受け止めた上で、私自身が襟を正して | |
- 先程もご説明差し上げましたとおり、' | |
selected: false | |
title: LLM | |
type: llm | |
variables: [] | |
vision: | |
enabled: false | |
height: 90 | |
id: '1746844380694' | |
position: | |
x: 1156.1225557444006 | |
y: 282 | |
positionAbsolute: | |
x: 1156.1225557444006 | |
y: 282 | |
selected: true | |
sourcePosition: right | |
targetPosition: left | |
type: custom | |
width: 244 | |
- data: | |
answer: '{{#1746844380694.text#}}' | |
desc: '' | |
selected: false | |
title: 回答 | |
type: answer | |
variables: [] | |
height: 104 | |
id: '1746844774803' | |
position: | |
x: 1460.1225557444006 | |
y: 282 | |
positionAbsolute: | |
x: 1460.1225557444006 | |
y: 282 | |
sourcePosition: right | |
targetPosition: left | |
type: custom | |
width: 244 | |
viewport: | |
x: -545.2286593710543 | |
y: 137.51477851043467 | |
zoom: 0.5313928787112735 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment