计划进行一系列 AI Agent 实验,欢迎交流。
相关信息
DSL
app:
description: ''
icon: 🤖
icon_background: '#FFEAD5'
mode: agent-chat
name: 城市天气画报
use_icon_as_answer_icon: false
kind: app
model_config:
agent_mode:
enabled: true
max_iteration: 5
prompt: null
strategy: function_call
tools:
- enabled: true
provider_id: gaode
provider_name: gaode
provider_type: builtin
tool_label: 天气预报
tool_name: gaode_weather
tool_parameters:
city: ''
- enabled: true
provider_id: dalle
provider_name: dalle
provider_type: builtin
tool_label: DALL-E 3 绘画
tool_name: dalle3
tool_parameters:
n: ''
prompt: ''
quality: ''
size: ''
style: ''
annotation_reply:
enabled: false
chat_prompt_config: {}
completion_prompt_config: {}
dataset_configs:
datasets:
datasets: []
reranking_enable: true
retrieval_model: multiple
top_k: 4
dataset_query_variable: ''
external_data_tools: []
file_upload:
allowed_file_extensions:
- .JPG
- .JPEG
- .PNG
- .GIF
- .WEBP
- .SVG
- .MP4
- .MOV
- .MPEG
- .MPGA
allowed_file_types: []
allowed_file_upload_methods:
- remote_url
- local_file
enabled: false
image:
detail: high
enabled: false
number_limits: 3
transfer_methods:
- remote_url
- local_file
number_limits: 3
model:
completion_params:
stop: []
mode: chat
name: gpt-4o-mini
provider: openai
more_like_this:
enabled: false
opening_statement: 回复 1 开始创作今日城市天气画报。
pre_prompt: '查找城市 {{city}} 今天的天气情况,生成一段简单的话描述这个场景,提供给 dalle 绘制一幅图片。
'
prompt_type: simple
retriever_resource:
enabled: true
sensitive_word_avoidance:
configs: []
enabled: false
type: ''
speech_to_text:
enabled: false
suggested_questions: []
suggested_questions_after_answer:
enabled: false
text_to_speech:
enabled: false
language: ''
voice: ''
user_input_form:
- text-input:
default: ''
label: 城市
max_length: 48
required: true
variable: city
version: 0.1.5
效果展示
界面:
生成效果:
测试 DEMO
仅展示效果,为了让更多人体验到效果,请勿滥用。
链接:https://dify.skybyte.me/chat/eg0ZPHqgCyeWF1Mb
iframe 插入不太正常,先不放了。