262 lines
6.8 KiB
YAML
262 lines
6.8 KiB
YAML
app:
|
|
description: ''
|
|
icon: 🤖
|
|
icon_background: '#FFEAD5'
|
|
mode: workflow
|
|
name: FAQ
|
|
use_icon_as_answer_icon: false
|
|
dependencies:
|
|
- current_identifier: null
|
|
type: marketplace
|
|
value:
|
|
marketplace_plugin_unique_identifier: langgenius/gemini:0.5.12@2a2bf8f78552bd52b1d2e51995daaa7b7c04b2572b29e661b14c1b773ab8d45a
|
|
version: null
|
|
kind: app
|
|
version: 0.5.0
|
|
workflow:
|
|
conversation_variables: []
|
|
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: knowledge-retrieval
|
|
id: 1763464241668-source-1763464408773-target
|
|
source: '1763464241668'
|
|
sourceHandle: source
|
|
target: '1763464408773'
|
|
targetHandle: target
|
|
type: custom
|
|
zIndex: 0
|
|
- data:
|
|
isInLoop: false
|
|
sourceType: llm
|
|
targetType: end
|
|
id: 1763466795085-source-1763464894998-target
|
|
source: '1763466795085'
|
|
sourceHandle: source
|
|
target: '1763464894998'
|
|
targetHandle: target
|
|
type: custom
|
|
zIndex: 0
|
|
- data:
|
|
isInLoop: false
|
|
sourceType: knowledge-retrieval
|
|
targetType: llm
|
|
id: 1763464408773-source-1763466795085-target
|
|
source: '1763464408773'
|
|
sourceHandle: source
|
|
target: '1763466795085'
|
|
targetHandle: target
|
|
type: custom
|
|
zIndex: 0
|
|
nodes:
|
|
- data:
|
|
selected: false
|
|
title: User Input
|
|
type: start
|
|
variables:
|
|
- default: ''
|
|
hint: ''
|
|
label: support_type
|
|
max_length: 48
|
|
options:
|
|
- New hire Training
|
|
- On-the-Job Training (OJT)
|
|
placeholder: ''
|
|
required: true
|
|
type: select
|
|
variable: support_type
|
|
- default: ''
|
|
hint: ''
|
|
label: Question
|
|
max_length: 400
|
|
options: []
|
|
placeholder: ''
|
|
required: true
|
|
type: paragraph
|
|
variable: Question
|
|
- allowed_file_extensions:
|
|
- .csv
|
|
allowed_file_types:
|
|
- custom
|
|
allowed_file_upload_methods:
|
|
- local_file
|
|
- remote_url
|
|
default: ''
|
|
hint: ''
|
|
label: process related FAQs
|
|
max_length: 2
|
|
options: []
|
|
placeholder: ''
|
|
required: false
|
|
type: file-list
|
|
variable: process_related_FAQs
|
|
height: 161
|
|
id: '1763464241668'
|
|
position:
|
|
x: 90.9821443070336
|
|
y: 286.08097772420376
|
|
positionAbsolute:
|
|
x: 90.9821443070336
|
|
y: 286.08097772420376
|
|
selected: false
|
|
sourcePosition: right
|
|
targetPosition: left
|
|
type: custom
|
|
width: 242
|
|
- data:
|
|
dataset_ids:
|
|
- HhYDV55j3H4hoASbF6jsL+Bh+L3nSYCjs2yq8FqZBmzgNiViWkI9TuOzd5pWfApA
|
|
metadata_filtering_conditions:
|
|
conditions: []
|
|
logical_operator: and
|
|
metadata_filtering_mode: disabled
|
|
metadata_model_config:
|
|
completion_params:
|
|
temperature: 0.7
|
|
mode: chat
|
|
name: gemini-2.5-flash
|
|
provider: langgenius/gemini/google
|
|
multiple_retrieval_config:
|
|
reranking_enable: false
|
|
reranking_mode: reranking_model
|
|
score_threshold: null
|
|
top_k: 10
|
|
query_variable_selector:
|
|
- '1763464241668'
|
|
- support_type
|
|
retrieval_mode: multiple
|
|
selected: false
|
|
title: Knowledge Retrieval
|
|
type: knowledge-retrieval
|
|
height: 90
|
|
id: '1763464408773'
|
|
position:
|
|
x: 400.0945356524318
|
|
y: 307.08097772420376
|
|
positionAbsolute:
|
|
x: 400.0945356524318
|
|
y: 307.08097772420376
|
|
selected: false
|
|
sourcePosition: right
|
|
targetPosition: left
|
|
type: custom
|
|
width: 242
|
|
- data:
|
|
outputs:
|
|
- value_selector:
|
|
- '1763466795085'
|
|
- text
|
|
value_type: string
|
|
variable: text
|
|
selected: false
|
|
title: Output
|
|
type: end
|
|
height: 88
|
|
id: '1763464894998'
|
|
position:
|
|
x: 1044.0292184066723
|
|
y: 307.08097772420376
|
|
positionAbsolute:
|
|
x: 1044.0292184066723
|
|
y: 307.08097772420376
|
|
selected: false
|
|
sourcePosition: right
|
|
targetPosition: left
|
|
type: custom
|
|
width: 242
|
|
- data:
|
|
context:
|
|
enabled: true
|
|
variable_selector:
|
|
- '1763464408773'
|
|
- result
|
|
model:
|
|
completion_params:
|
|
temperature: 0.7
|
|
mode: chat
|
|
name: gemini-2.5-pro
|
|
provider: langgenius/gemini/google
|
|
prompt_template:
|
|
- id: 45817aff-d7bc-42b8-a44c-ef6af350275c
|
|
role: system
|
|
text: You are a helpful assistant
|
|
- id: 14ccb40d-3052-4899-88e2-dbc4597ae73f
|
|
role: user
|
|
text: "show only those rows where you can find in the row {{#1763464241668.support_type#}}\
|
|
\ and is related to {{#1763464241668.Question#}}\noutput formatting: provide\
|
|
\ only questions and answers (in each paragraph) \ncontext you can find\
|
|
\ here: {{#context#}}"
|
|
- id: 6c7ccf37-7671-4fd2-9ed1-aca7279c3f2b
|
|
role: user
|
|
text: summarize also content from files {{#sys.files#}} take conodiration
|
|
aboput {{#1763464241668.support_type#}}and {{#1763464241668.Question#}}
|
|
selected: false
|
|
title: LLM
|
|
type: llm
|
|
vision:
|
|
enabled: false
|
|
height: 88
|
|
id: '1763466795085'
|
|
position:
|
|
x: 728.9853907966638
|
|
y: 307.08097772420376
|
|
positionAbsolute:
|
|
x: 728.9853907966638
|
|
y: 307.08097772420376
|
|
selected: true
|
|
sourcePosition: right
|
|
targetPosition: left
|
|
type: custom
|
|
width: 242
|
|
viewport:
|
|
x: 236.93987711218003
|
|
y: 225.29153662840088
|
|
zoom: 0.587932291617945
|
|
rag_pipeline_variables: []
|