模型PK
暂无描述
工作流图谱
YAML 源码
app:
description: ''
icon: 🤖
icon_background: '#FFEAD5'
mode: advanced-chat
name: 模型PK
use_icon_as_answer_icon: false
kind: app
version: 0.1.2
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
image:
enabled: false
number_limits: 3
transfer_methods:
- local_file
- remote_url
number_limits: 3
opening_statement: ''
retriever_resource:
enabled: false
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:
isInIteration: false
sourceType: start
targetType: llm
id: 1724816625228-source-llm-target
selected: false
source: '1724816625228'
sourceHandle: source
target: llm
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: start
targetType: llm
id: 1724816625228-source-17248166805710-target
source: '1724816625228'
sourceHandle: source
target: '17248166805710'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: start
targetType: llm
id: 1724816625228-source-17248166823210-target
source: '1724816625228'
sourceHandle: source
target: '17248166823210'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: llm
targetType: answer
id: llm-source-1724821147504-target
source: llm
sourceHandle: source
target: '1724821147504'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: llm
targetType: answer
id: 17248166805710-source-1724821147504-target
source: '17248166805710'
sourceHandle: source
target: '1724821147504'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: llm
targetType: answer
id: 17248166823210-source-1724821147504-target
source: '17248166823210'
sourceHandle: source
target: '1724821147504'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: start
targetType: llm
id: 1724816625228-source-1724821559068-target
source: '1724816625228'
sourceHandle: source
target: '1724821559068'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: llm
targetType: answer
id: 1724821559068-source-1724821147504-target
source: '1724821559068'
sourceHandle: source
target: '1724821147504'
targetHandle: target
type: custom
zIndex: 0
nodes:
- data:
desc: ''
selected: false
title: Start
type: start
variables: []
height: 54
id: '1724816625228'
position:
x: 30
y: 253
positionAbsolute:
x: 30
y: 253
selected: false
sourcePosition: right
targetPosition: left
type: custom
width: 244
- data:
context:
enabled: false
variable_selector: []
desc: ''
memory:
role_prefix:
assistant: ''
user: ''
window:
enabled: false
size: 10
model:
completion_params:
temperature: 0.7
mode: chat
name: gpt-4o
provider: openai
prompt_template:
- id: aa4d1171-252f-4772-b4fc-520ef39a8ece
role: system
text: 我是一个乐于助人的助手
selected: false
title: gpt-4o
type: llm
variables: []
vision:
configs:
detail: high
enabled: false
height: 98
id: llm
position:
x: 334
y: 253
positionAbsolute:
x: 334
y: 253
selected: false
sourcePosition: right
targetPosition: left
type: custom
width: 244
- data:
context:
enabled: false
variable_selector: []
desc: ''
memory:
role_prefix:
assistant: ''
user: ''
window:
enabled: false
size: 10
model:
completion_params:
temperature: 0.7
mode: chat
name: claude-3-5-sonnet-20240620
provider: anthropic
prompt_template:
- id: aa4d1171-252f-4772-b4fc-520ef39a8ece
role: system
text: 我是一个乐于助人的助手
selected: false
title: claude-3-5-sonnet
type: llm
variables: []
vision:
configs:
detail: high
enabled: false
height: 98
id: '17248166805710'
position:
x: 334
y: 399
positionAbsolute:
x: 334
y: 399
selected: true
sourcePosition: right
targetPosition: left
type: custom
width: 244
- data:
context:
enabled: false
variable_selector: []
desc: ''
memory:
role_prefix:
assistant: ''
user: ''
window:
enabled: false
size: 10
model:
completion_params:
temperature: 0.7
mode: chat
name: gpt-3.5-turbo
provider: openai
prompt_template:
- id: aa4d1171-252f-4772-b4fc-520ef39a8ece
role: system
text: 我是一个乐于助人的助手
selected: false
title: gpt-3.5-turbo
type: llm
variables: []
vision:
enabled: false
height: 98
id: '17248166823210'
position:
x: 334
y: 545
positionAbsolute:
x: 334
y: 545
selected: false
sourcePosition: right
targetPosition: left
type: custom
width: 244
- data:
answer: '|gpt-4o|claude-3-5-sonnet|gpt-3.5-turbo|claude-3-haiku|
|---|---|---|---|
| {{#llm.text#}} | {{#17248166805710.text#}} | {{#17248166823210.text#}} |{{#1724821559068.text#}}|'
desc: ''
selected: false
title: Answer
type: answer
variables: []
height: 190
id: '1724821147504'
position:
x: 683.539345503342
y: 387.6266627000496
positionAbsolute:
x: 683.539345503342
y: 387.6266627000496
selected: false
sourcePosition: right
targetPosition: left
type: custom
width: 244
- data:
context:
enabled: false
variable_selector: []
desc: ''
memory:
query_prompt_template: ''
role_prefix:
assistant: ''
user: ''
window:
enabled: false
size: 50
model:
completion_params:
temperature: 0.7
mode: chat
name: claude-3-haiku-20240307
provider: anthropic
prompt_template:
- id: 5fec8167-6795-4d08-8b40-fdcbb75b1755
role: system
text: 我是一个乐于助人的助手
selected: false
title: claude-3-haiku
type: llm
variables: []
vision:
configs:
detail: high
enabled: false
height: 98
id: '1724821559068'
position:
x: 337.5852900042406
y: 707.0117999105822
positionAbsolute:
x: 337.5852900042406
y: 707.0117999105822
selected: false
sourcePosition: right
targetPosition: left
type: custom
width: 244
viewport:
x: 101.32146833124875
y: -184.06765966586374
zoom: 1.0610015965572788