股票新闻情感分析(迭代中并行)
暂无描述
工作流图谱
YAML 源码
app:
description: ''
icon: 📈
icon_background: '#FFE4E8'
mode: workflow
name: 股票新闻情感分析(迭代中并行)
use_icon_as_answer_icon: false
dependencies:
- current_identifier: null
type: marketplace
value:
marketplace_plugin_unique_identifier: langgenius/openai:0.0.13@9caa0421b5519db036aaccdbf1980d1071550767d6c59e9d9388dd386a92e9f6
kind: app
version: 0.1.5
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: 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:
sourceType: tool
targetType: code
id: 1713262010863-1713262060182
selected: false
source: '1713262010863'
sourceHandle: source
target: '1713262060182'
targetHandle: target
type: custom
- data:
isInIteration: false
sourceType: code
targetType: iteration
id: 1713262060182-source-1716911333343-target
selected: false
source: '1713262060182'
sourceHandle: source
target: '1716911333343'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: iteration
targetType: code
id: 1716911333343-source-1720759755103-target
selected: false
source: '1716911333343'
sourceHandle: source
target: '1720759755103'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: true
iteration_id: '1716911333343'
sourceType: iteration-start
targetType: tool
id: 1716911333343start0-source-1720758285748-target
selected: false
source: 1716911333343start0
sourceHandle: source
target: '1720758285748'
targetHandle: target
type: custom
zIndex: 1002
- data:
isInIteration: true
iteration_id: '1716911333343'
sourceType: tool
targetType: parameter-extractor
id: 1720758285748-source-1724987616662-target
source: '1720758285748'
sourceHandle: source
target: '1724987616662'
targetHandle: target
type: custom
zIndex: 1002
- data:
isInIteration: true
iteration_id: '1716911333343'
sourceType: parameter-extractor
targetType: llm
id: 1724987616662-source-1724988766566-target
source: '1724987616662'
sourceHandle: source
target: '1724988766566'
targetHandle: target
type: custom
zIndex: 1002
- data:
isInIteration: true
iteration_id: '1716911333343'
sourceType: parameter-extractor
targetType: llm
id: 1724987616662-source-1724988773806-target
source: '1724987616662'
sourceHandle: source
target: '1724988773806'
targetHandle: target
type: custom
zIndex: 1002
- data:
isInIteration: true
iteration_id: '1716911333343'
sourceType: llm
targetType: template-transform
id: 1724988766566-source-1720758555344-target
source: '1724988766566'
sourceHandle: source
target: '1720758555344'
targetHandle: target
type: custom
zIndex: 1002
- data:
isInIteration: true
iteration_id: '1716911333343'
sourceType: llm
targetType: template-transform
id: 1724988773806-source-1720758555344-target
source: '1724988773806'
sourceHandle: source
target: '1720758555344'
targetHandle: target
type: custom
zIndex: 1002
- data:
isInIteration: false
sourceType: code
targetType: template-transform
id: 1720759755103-source-1724991999136-target
source: '1720759755103'
sourceHandle: source
target: '1724991999136'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: template-transform
targetType: end
id: 1724991999136-source-1713262577750-target
source: '1724991999136'
sourceHandle: source
target: '1713262577750'
targetHandle: target
type: custom
zIndex: 0
- data:
isInIteration: false
sourceType: start
targetType: tool
id: 1713261835258-source-1713262010863-target
source: '1713261835258'
sourceHandle: source
target: '1713262010863'
targetHandle: target
type: custom
zIndex: 0
nodes:
- data:
desc: ''
selected: false
title: Start
type: start
variables:
- label: 股票代码 eg:nvda news
max_length: 148
options: []
required: true
type: text-input
variable: stock_code
height: 90
id: '1713261835258'
position:
x: 234.55110443810747
y: 424
positionAbsolute:
x: 234.55110443810747
y: 424
selected: false
sourcePosition: right
targetPosition: left
type: custom
width: 244
- data:
desc: ''
provider_id: tavily
provider_name: tavily
provider_type: builtin
selected: false
title: TavilySearch
tool_configurations:
exclude_domains: null
include_answer: 0
include_domains: null
include_images: 0
include_raw_content: 0
max_results: 4
search_depth: basic
tool_label: TavilySearch
tool_name: tavily_search
tool_parameters:
query:
type: mixed
value: '{{#1713261835258.stock_code#}}'
type: tool
height: 246
id: '1713262010863'
position:
x: 634
y: 424
positionAbsolute:
x: 634
y: 424
selected: false
sourcePosition: right
targetPosition: left
type: custom
width: 244
- data:
code: "import re\nimport time\ndef main(arg1) -> dict:\n time.sleep(13)\n\
\ urls = re.findall(r'http[s]?://[^\\s)]+', arg1)\n return {\n \
\ \"result\": urls,\n }"
code_language: python3
desc: ''
outputs:
result:
children: null
type: array[string]
selected: false
title: Code
type: code
variables:
- value_selector:
- '1713262010863'
- text
variable: arg1
height: 54
id: '1713262060182'
position:
x: 938
y: 424
positionAbsolute:
x: 938
y: 424
selected: false
sourcePosition: right
targetPosition: left
type: custom
width: 244
- data:
desc: ''
outputs:
- value_selector:
- '1724991999136'
- output
variable: text
selected: false
title: End
type: end
height: 90
id: '1713262577750'
position:
x: 3495
y: 424
positionAbsolute:
x: 3495
y: 424
selected: false
sourcePosition: right
targetPosition: left
type: custom
width: 244
- data:
desc: ''
error_handle_mode: terminated
height: 447.738322573574
is_parallel: false
iterator_selector:
- '1713262060182'
- result
output_selector:
- '1720758555344'
- output
output_type: array[string]
parallel_nums: 10
selected: false
startNodeType: tool
start_node_id: 1716911333343start0
title: Parameter Extractor
type: iteration
width: 1585
height: 448
id: '1716911333343'
position:
x: 1242
y: 424
positionAbsolute:
x: 1242
y: 424
selected: false
sourcePosition: right
targetPosition: left
type: custom
width: 1585
zIndex: 1
- data:
desc: ''
isInIteration: true
isIterationStart: true
iteration_id: '1716911333343'
provider_id: jina
provider_name: jina
provider_type: builtin
selected: false
title: JinaReader
tool_configurations:
gather_all_images_at_the_end: 0
gather_all_links_at_the_end: 0
image_caption: 0
no_cache: 0
proxy_server: null
summary: 0
target_selector: null
wait_for_selector: null
tool_label: JinaReader
tool_name: jina_reader
tool_parameters:
url:
type: mixed
value: '{{#1716911333343.item#}}'
type: tool
extent: parent
height: 272
id: '1720758285748'
parentId: '1716911333343'
position:
x: 117
y: 85
positionAbsolute:
x: 1359
y: 509
selected: false
sourcePosition: right
targetPosition: left
type: custom
width: 244
zIndex: 1001
- data:
desc: ''
isInIteration: true
iteration_id: '1716911333343'
selected: false
template...(过长已截断)