2024-09-25 16:22:06 +08:00
{
"id" : 8 ,
"title" : "Intelligent investment advisor" ,
"description" : "An intelligent investment advisor that can answer your financial questions based on real-time domestic financial data and financial information." ,
"canvas_type" : "chatbot" ,
"dsl" : {
"answer" : [ ] ,
"components" : {
"AkShare:CalmHotelsKnow" : {
"downstream" : [
"Generate:RottenMangosSmash"
] ,
"obj" : {
"component_name" : "AkShare" ,
"params" : {
"top_n" : 10
}
} ,
"upstream" : [
"KeywordExtract:AllGarlicsPress"
]
} ,
"Generate:RottenMangosSmash" : {
"downstream" : [
"answer:0"
] ,
"obj" : {
"component_name" : "Generate" ,
"params" : {
"cite" : true ,
"frequency_penalty" : 0.7 ,
"llm_id" : "deepseek-chat" ,
"message_history_window_size" : 0 ,
"parameters" : [
{
"component_id" : "WenCai:TenParksOpen" ,
"id" : "6045431c-3206-4aae-8f4e-c36c27c488d1" ,
"key" : "wencai_input"
} ,
{
"component_id" : "AkShare:CalmHotelsKnow" ,
"id" : "1eca5d40-9718-4a62-8e4c-afbd48fd3929" ,
"key" : "ak_input"
}
] ,
"presence_penalty" : 0.4 ,
2024-09-26 17:27:53 +08:00
"prompt" : "Role: You are a professional financial counseling assistant.\n\nTask: Answer user's question based on content provided by Wencai and AkShare.\n\nNotice:\n- Output no more than 5 news items from AkShare if there's content provided by Wencai.\n- Items from AkShare MUST have a corresponding URL link.\n\n############\nContent provided by Wencai: \n{wencai_input}\n\n################\nContent provided by AkShare: \n{ak_input}" ,
2024-09-25 16:22:06 +08:00
"temperature" : 0.1 ,
"top_p" : 0.3
}
} ,
"upstream" : [
"WenCai:TenParksOpen" ,
"AkShare:CalmHotelsKnow"
]
} ,
"KeywordExtract:AllGarlicsPress" : {
"downstream" : [
"AkShare:CalmHotelsKnow"
] ,
"obj" : {
"component_name" : "KeywordExtract" ,
"params" : {
"frequencyPenaltyEnabled" : true ,
"frequency_penalty" : 0.7 ,
"llm_id" : "deepseek-chat" ,
"maxTokensEnabled" : true ,
"max_tokens" : 256 ,
"presencePenaltyEnabled" : true ,
"presence_penalty" : 0.4 ,
"temperature" : 0.1 ,
"temperatureEnabled" : true ,
"topPEnabled" : true ,
"top_n" : 2 ,
"top_p" : 0.3
}
} ,
"upstream" : [
"answer:0"
]
} ,
"WenCai:TenParksOpen" : {
"downstream" : [
"Generate:RottenMangosSmash"
] ,
"obj" : {
"component_name" : "WenCai" ,
"params" : {
"query_type" : "stock" ,
"top_n" : 5
}
} ,
"upstream" : [
"answer:0"
]
} ,
"answer:0" : {
"downstream" : [
"WenCai:TenParksOpen" ,
"KeywordExtract:AllGarlicsPress"
] ,
"obj" : {
"component_name" : "Answer" ,
"params" : { }
} ,
"upstream" : [
"begin" ,
"Generate:RottenMangosSmash"
]
} ,
"begin" : {
"downstream" : [
"answer:0"
] ,
"obj" : {
"component_name" : "Begin" ,
"params" : {
"prologue" : "Hi there!"
}
} ,
"upstream" : [ ]
}
} ,
"graph" : {
"edges" : [
{
"id" : "81de838d-a541-4b3f-9d68-9172ffd7c6b4" ,
"label" : "" ,
"source" : "begin" ,
"target" : "answer:0"
} ,
{
"id" : "reactflow__edge-WenCai:TenParksOpenb-Generate:RottenMangosSmashc" ,
"markerEnd" : "logo" ,
"source" : "WenCai:TenParksOpen" ,
"sourceHandle" : "b" ,
"style" : {
"stroke" : "rgb(202 197 245)" ,
"strokeWidth" : 2
} ,
"target" : "Generate:RottenMangosSmash" ,
"targetHandle" : "c" ,
"type" : "buttonEdge"
} ,
{
"id" : "reactflow__edge-AkShare:CalmHotelsKnowb-Generate:RottenMangosSmashc" ,
"markerEnd" : "logo" ,
"source" : "AkShare:CalmHotelsKnow" ,
"sourceHandle" : "b" ,
"style" : {
"stroke" : "rgb(202 197 245)" ,
"strokeWidth" : 2
} ,
"target" : "Generate:RottenMangosSmash" ,
"targetHandle" : "c" ,
"type" : "buttonEdge"
} ,
{
"id" : "reactflow__edge-Generate:RottenMangosSmashd-answer:0d" ,
"markerEnd" : "logo" ,
"source" : "Generate:RottenMangosSmash" ,
"sourceHandle" : "d" ,
"style" : {
"stroke" : "rgb(202 197 245)" ,
"strokeWidth" : 2
} ,
"target" : "answer:0" ,
"targetHandle" : "d" ,
"type" : "buttonEdge"
} ,
{
"id" : "reactflow__edge-answer:0b-WenCai:TenParksOpenc" ,
"markerEnd" : "logo" ,
"source" : "answer:0" ,
"sourceHandle" : "b" ,
"style" : {
"stroke" : "rgb(202 197 245)" ,
"strokeWidth" : 2
} ,
"target" : "WenCai:TenParksOpen" ,
"targetHandle" : "c" ,
"type" : "buttonEdge"
} ,
{
"id" : "reactflow__edge-answer:0b-KeywordExtract:AllGarlicsPressc" ,
"markerEnd" : "logo" ,
"source" : "answer:0" ,
"sourceHandle" : "b" ,
"style" : {
"stroke" : "rgb(202 197 245)" ,
"strokeWidth" : 2
} ,
"target" : "KeywordExtract:AllGarlicsPress" ,
"targetHandle" : "c" ,
"type" : "buttonEdge"
} ,
{
"id" : "reactflow__edge-KeywordExtract:AllGarlicsPressb-AkShare:CalmHotelsKnowc" ,
"markerEnd" : "logo" ,
"source" : "KeywordExtract:AllGarlicsPress" ,
"sourceHandle" : "b" ,
"style" : {
"stroke" : "rgb(202 197 245)" ,
"strokeWidth" : 2
} ,
"target" : "AkShare:CalmHotelsKnow" ,
"targetHandle" : "c" ,
"type" : "buttonEdge"
}
] ,
"nodes" : [
{
"data" : {
"form" : {
"prologue" : "Hi there!"
} ,
"label" : "Begin" ,
"name" : "Opening"
} ,
"dragging" : false ,
"height" : 50 ,
"id" : "begin" ,
"position" : {
"x" : -327.8118264317484 ,
"y" : -2.9994670375766646
} ,
"positionAbsolute" : {
"x" : -327.8118264317484 ,
"y" : -2.9994670375766646
} ,
"selected" : false ,
"sourcePosition" : "left" ,
"targetPosition" : "right" ,
"type" : "beginNode" ,
"width" : 50
} ,
{
"data" : {
"form" : { } ,
"label" : "Answer" ,
"name" : "Interface"
} ,
"dragging" : false ,
"height" : 100 ,
"id" : "answer:0" ,
"position" : {
"x" : -186.4123883768126 ,
"y" : -27.957575810677824
} ,
"positionAbsolute" : {
"x" : -186.4123883768126 ,
"y" : -27.957575810677824
} ,
"selected" : false ,
"sourcePosition" : "left" ,
"targetPosition" : "right" ,
"type" : "logicNode" ,
"width" : 100
} ,
{
"data" : {
"form" : {
"query_type" : "stock" ,
"top_n" : 5
} ,
"label" : "WenCai" ,
"name" : "wencai"
} ,
"dragging" : false ,
"height" : 50 ,
"id" : "WenCai:TenParksOpen" ,
"position" : {
"x" : -21.020232062982387 ,
"y" : -47.73820863114301
} ,
"positionAbsolute" : {
"x" : -21.020232062982387 ,
"y" : -47.73820863114301
} ,
"selected" : false ,
"sourcePosition" : "right" ,
"targetPosition" : "left" ,
"type" : "ragNode" ,
"width" : 50
} ,
{
"data" : {
"form" : {
"top_n" : 10
} ,
"label" : "AkShare" ,
"name" : "akshare"
} ,
"dragging" : false ,
"height" : 50 ,
"id" : "AkShare:CalmHotelsKnow" ,
"position" : {
"x" : 99.2973230068406 ,
"y" : 62.01564509712426
} ,
"positionAbsolute" : {
"x" : 99.2973230068406 ,
"y" : 62.01564509712426
} ,
"selected" : false ,
"sourcePosition" : "right" ,
"targetPosition" : "left" ,
"type" : "ragNode" ,
"width" : 50
} ,
{
"data" : {
"form" : {
"frequencyPenaltyEnabled" : true ,
"frequency_penalty" : 0.7 ,
"llm_id" : "deepseek-chat" ,
"maxTokensEnabled" : true ,
"max_tokens" : 256 ,
"presencePenaltyEnabled" : true ,
"presence_penalty" : 0.4 ,
"temperature" : 0.1 ,
"temperatureEnabled" : true ,
"topPEnabled" : true ,
"top_n" : 2 ,
"top_p" : 0.3
} ,
"label" : "KeywordExtract" ,
"name" : "keywords"
} ,
"dragging" : false ,
"height" : 70 ,
"id" : "KeywordExtract:AllGarlicsPress" ,
"position" : {
"x" : -18.700715327199163 ,
"y" : 51.73207329420393
} ,
"positionAbsolute" : {
"x" : -18.700715327199163 ,
"y" : 51.73207329420393
} ,
"selected" : false ,
"sourcePosition" : "right" ,
"targetPosition" : "left" ,
"type" : "logicNode" ,
"width" : 70
} ,
{
"data" : {
"form" : {
"cite" : true ,
"frequencyPenaltyEnabled" : true ,
"frequency_penalty" : 0.7 ,
"llm_id" : "deepseek-chat" ,
"maxTokensEnabled" : false ,
"max_tokens" : 2048 ,
"message_history_window_size" : 0 ,
"parameter" : "Precise" ,
"parameters" : [
{
"component_id" : "WenCai:TenParksOpen" ,
"id" : "6045431c-3206-4aae-8f4e-c36c27c488d1" ,
"key" : "wencai_input"
} ,
{
"component_id" : "AkShare:CalmHotelsKnow" ,
"id" : "1eca5d40-9718-4a62-8e4c-afbd48fd3929" ,
"key" : "ak_input"
}
] ,
"presencePenaltyEnabled" : true ,
"presence_penalty" : 0.4 ,
2024-09-26 17:27:53 +08:00
"prompt" : "Role: You are a professional financial counseling assistant.\n\nTask: Answer user's question based on content provided by Wencai and AkShare.\n\nNotice:\n- Output no more than 5 news items from AkShare if there's content provided by Wencai.\n- Items from AkShare MUST have a corresponding URL link.\n\n############\nContent provided by Wencai: \n{wencai_input}\n\n################\nContent provided by AkShare: \n{ak_input}" ,
2024-09-25 16:22:06 +08:00
"temperature" : 0.1 ,
"temperatureEnabled" : true ,
"topPEnabled" : true ,
"top_p" : 0.3
} ,
"label" : "Generate" ,
"name" : "generate"
} ,
"dragging" : false ,
"height" : 150 ,
"id" : "Generate:RottenMangosSmash" ,
"position" : {
"x" : 271.2569202344237 ,
"y" : -154.181391877237
} ,
"positionAbsolute" : {
"x" : 271.2569202344237 ,
"y" : -154.181391877237
} ,
"selected" : true ,
"sourcePosition" : "right" ,
"targetPosition" : "left" ,
"type" : "logicNode" ,
"width" : 150
}
]
} ,
"history" : [ ] ,
"messages" : [ ] ,
"path" : [ ] ,
"reference" : [ ]
} ,
"avatar" : " d a t a : i m a g e / p n g ; b a s e 64 , i V B O R w 0 K G g o A A A A N S U h E U g A A A J A A A A C Q C A Y A A A D n R u K 4 A A A A A X N S R 0 I A r s 4 c 6 Q A A A A R n Q U 1 B A A C x j w v 8 Y Q U A A A A J c E h Z c w A A C E w A A A h M A f P P w 2 U A A E 5 x S U R B V H h e 7 b 15 t C 3 X X R 741 Z n H O w / v 3 f v m U f M s 2 Z I 8 I S w L Y w a b B S Y E N 8 R m N S E 0 h B W g 6 Q R 6 B X c W 0 E P y T 3 q t z l r d I U 1 C D L E D q z G e b V m y Z C R k z b P 0 5 v m 9 O 89 n n q q / 71 d V 59 Y 5976 n 93 Q l C O Z 89 + 6 z d + 3 a t c e v f v v 327 V P H c c l 0 E M P b x M R 3 + + h h 7 e F H o F 62 B J 6 B O p h S + g R q I c t o U e g H r a E H o F 62 B J 6 B O p h S + g R q I c t o U e g H r a E H o F 62 B J 6 B O p h S + g R q I c t o U e g H r a E H o F 62 B J 6 B O p h S + g R q I c t o U e g H r a E H o F 62 B J 6 B O p h S + g R q I c t o U e g H r a E v 1 P f y n B b D T j N B t C q A c 0 63 G a N x 3 W 0 G g y 7 T d 4 N j q V r s U l O J A o n G g O i c S C W Y D j B 2 y U B l 3 F O h P E 9 v C P 4 b 5 d A j Q p Q K 6 J V X o V T X w W q y 8 D a A p x G g f E 8 r q z B L S 3 T r a F e X k N M X H E 8 g d p q t V C v k z f p D C L p P r h 0 k V Q / k M j D j d N l h u B k B o B k P 5 w 0 / U Q W i K f s 2 h 6 u D f 9 t E Y g k c Q v z c J f P w V 27 g E h 5 D i g v k j B r c G o l 1 p Y E c V p k C N M 2 W e 1 m y 8 j S Z L j V c i m F l A m l D z 8 j / I h G I u b b h 66 N 6 r Q D t 96 E k 8 q Q T D k g O 4 J W e g T o 34 n I 0 B 44 + V E g P a i M 3 n V 84 Q t f w M m T J / H b v / 3 b f s z f P f y t E 8 i t S L J c h L t 4 H F g 5 B 6 c w D R T n O e V o 0 E U S u j q J Q t c g W U Q Y c k T / 3 o f S 2 A H R 9 o M A I W L R U 5 T D L C P 8 i J J Q s S g n P D q K L Y k s 5 s / z e Z I p P 4 H I 8 F 5 g 9 I C R y s m 8e2 T 6 g z / 4 A / z O 7 / w O 6 x a q 798 x / O 0 Q i L q M u 3 o B W D g C L B 6 D U 5 o C C p Q 2 U Y q I B g e 83 k C j w U G V h F H 1 K D U E E S B M D i + o 83 Y Y 8 t f T B O E g y j x J M L v O 9 Q j F f G M x S q s Y y 1 c h J B 3 y w 5 R M 2 + B s v x H Y d g O c w V 1 k X 0 936 s b f K I H c e h X u 0 g k 4 M y 8 C y y R O Z Y G R H M 1 a k 3 q x S E P f J I b T S Z Z w D U P V 9 Y L 8 C K L a / n q a I B y O 8 t L x w 4 + z L v D j W D L J F E U i 4 U s n l 6 T K j s I d P Q T s e Q 8 l 0 2 F P I e / B 8 D d D I F p L r f k 3 S Z w X 4 C w d o w K 8 x E g S p d J E Q + T h F K J K e K T x x 1 I I q h a u o e K U z u B f E C A I t g m h o D / l m d T x Y e f W 0 7 T L I e x S O 2 x R O k W Q I I l i U U Y k q G T v u h O t 8 Z u B Q e p K f d v h x J J 2 z d 9 n v L s E Y t a u C D P 1 N D D 7 K i 2 o N Z u i m t U G m p Q 2 H Y N q 0 O j Z v w 8 v 5 I h Z 9 r / O M F e S S t w Q + T T l 6 N + S U 4 r I 5 z V 2 W Y Q H x k w 5 p f H S 6 m I r 38 L 68 L A e 9 P L X c o E T T y M 5 c R C x k Z 1 e X p R A r f 4 J Y O g Q I o O T T O T l / f c R 7 x q B X C n D M 0 / D n X o G E U 1 V U o J F H C n F G p j N l F 8 G R B J X x p Y s J 1 Z N 5 G g F p C t R Y l X q N N s p t a p N C r Y G 9 S Q v z X o e G k 4 e i E B U k q M x + n H 6 i S h i y S i i y R g d 9 R 3 F s Q x X 6 U R G l W X l + Z m o k l p z i m U Q H T 0 I 9 I 2 y y i 3 O a i 5 i k k b M z 42 l 4 Q 7 v g z N 8 g M r 2 s H / d 3 y + 84 w R y G 1 V g 7 i W 4 F / 8 K k e X T H A c O d I m D T q X Y 7 l N 9 W I l d g 87 B N C u d C n O T y n O 91 E B t p Y r a a g 3 V l Q q J Q 9 L Q / D Z u M F 1E5 C A J H B J E Y T n F G y H 8 v N W 0 g G A u S S j 9 K i g r Q j I l 0 j H E c w k k M i Q W 85 L O Y w R S + i b b E S V 5 x g 7 S O h t j H E + 4 K p / n W I K W C O J Z E o m + 28 f z g 9 S N h m i 9 x e J W x t 8 X v L M E o t R x z z 8 K Z + 55 S p w y z X E R h x Y X T 3 W U Y m F / M D X w I h U H u l a s o T J f Q W m + b K R p U s r Y W g 4 l R i I T 54 B x w C V F e P e b V J G S K 0 m l f 8 t E I I H 8 o D V N Y X o i h o j Z o s 7 V q F I a V q i 0 U 5 I p L s I 8 Y q k o 4 n m S i W X E q E B H U l m P E G l K l i a J A z l m p m r L 87 O O U + G O Z E i k a B z u I K X R O K 227 B D P / P 3 A O 0 M g j o 47 / w Z w / m E 4 K y f M q q q X a i G e 8 K 4 N S p H P n o / 4 g 68 B r Z A w h U t F l O n X O b A x n k t y M J P 9 d D l O O S k 6 S h q l l 4 R S F p I D F v B C 9 H j e + / c / f E g i i V G K k 6 d j 5 q N m S 6 B I i W 9 Q Q t Y K d Z N y e i S S y K W Q 2 X 89 k p M k B B V o t 67 H J p z O b D n B y y v c a 4 p N p q l Q p y h 9 c t t o s d 1 E s 1 / 6 E q X a 9 z m 2 T q B G B a 2 L T 9 H C e h x O a R 7 u W h V 1 T T X q V S E Y Z L 8 U S R y R p 1 l u o D R T x O r 5 V S O O k O x L I j O Y R L o v Q d J Q y o g w v N Z m H g 24 / L a k I d p B L 9 A + F U p i B + H j d h q P W D Z t s h z V s 8 l p r s r 619 Y o N S N p x A Z G k R w f R 3 J o g D o T d R 5 J U 5 N G n L Y s E 6 u Q h V Q 5 S a N o X 9 Z W u J 2 R 62 n y 0 / S P f 39 b a l s i k F t Z A c 5 R 6 s w 8 x S m L e s p q l Y P d 1 k I 9 M H c V Y X o H p 51 m r Y X S V A E r p 1 d Q m S u b D p M d 5 h 0 / k u K d H + e 0 5 A 2 O Z 2 U x 1 B 58 P 9 A + J i z s R Y R 5 F Y 6 / X H o D g + 0 j 1 Y / T p X y Z / o 0 C p 9 F V T n P N J K L 9 Y 0 h N 7 k R i q M + o o 4 V O W + A 0 p c v v P l W A 9 Z W X J I m o q a M 1 S O V 68 m Y 4 q b y X 5 v s Q b 59 A 5 Q W 0 z n w V k b l n O W V R 1 + E U Y D m F r S u B 4 Q h J o q j q Q g V L J 5 d Q u F C w j s 6 N p Z A d y 1 L v o L T R Y H A A A k X X E I x u m B 2 h o A 42 E k d g o C M d Y c d + Z P f p j k x 4 K M l H I q v y j V I V l b U 61 S B K p K E J p C c n E c v R + t I O A O p P n T l 5 U 6 N a m 2 I a S R 9 X z 9 c m 7 q Q u 1 e e n + f 7 C 2 y K Q W 5 g C T n 8 V W H o Z T p n 6 Q 7 n G 2 K A j m Z 2 f o 6 Y I k z q c r p Z O L 2 P l + B K a 1 D O y o 2 n k t 2 U o c W J K 5 E m a 8 F i 0 x 4 S B z v E J P g z t c W 9 H + Y H 1 J H 54 P b 59 q o s 0 o R O + T 0 g q S V e j R G q W q 6 g W X D Q j / U h s 24 X k 2 B i l k R 63 U D c y K J 18 f i h v d m s i l Y K T p F 40 u B v Y d Q 8 l U b + l / H 7 C N R P I L c 7 C P f V F R B Z f A S o i D z s w 6 P O g A / k f i c m s d s y q W n h j H m u c t p K 0 c P o n c 0 g P J W X 9 m m V s x B G C P A J f g X a Y C M f r c 8 M 5 P y I c L 4 Q S d l 4 T O n i L + E D x F p E a R R K p E k O k b x K p 7 T u p q 8 U 9 E q k b T c k O u l P p S S J t K U n S W H B J p E M P I j K 0 w z ///YFrIpDLacs9+UU4Cy/C0YIeLaaOPjOfIlyLd/xbO7OKhdfmaZHVTeL0TWTNXLbnXf5UZRZSgFCwc7SJ9uG7MG21g12JwodKTxeJcJqlVVYvkUyxYSTG99L8z7M9dZuCOyDTnlNddPUcEsUZtCbuAu79FCJaV/o+wdUTqLoK9/Rfwpl9hvqPRx71LqnQQaBIgndbtYWlY4tYOrJoU8Dg7jzSVJRFFj1hF0Sw9dEh1kfq8vH63HDOj7hCfPjU1RLH89qBdSgp82BLvFXxZg6xYZJoYJDNZ9tatNJ0V2knJEnVnDmF1sI5JJNRxNPUi/a9H7jrH3gb2q4BGibdeCpb3a21K6/fvbi/LVwdgdgR7umvAZcepeSpoU4CBQgTKEpTVwt086/MYfXUMhL5OAb35JHKJzqljo2CBT20w13xgh17kVdFHiGUsPOa0MHl4gUeejHtgId2mAFOwQ4NBkmjRo03x8AekmiEkWojT1LyNOdOorV0gf3DQY9GkbHHKSm0rv8IInd+kh12+af6us+qeoTTpCLfckjUpj0/tAVxnteSgZwIG420kGTeCW1JEbH+BiFT48rgvN+6RDN95kk46izedR2d6kOrww3qQ3MvzmDlxBIylDgjBweQpGmu1d6APIbLDUp3vB17ke0xbseHoKUZCTYVIaewXBjdJGmjK56HXkw74KEd9uNZjsuBdRIJxFM0ItbOoLE8xxM0DJoiz3G4yxd5zC4meXRJudqEW6vBOfYImkceZcxGkDMosT1rtRbWqg7KrQgarHujFUO1GUOtEUXTjaHRjKLKoSjVXVQaEcaDJBPh2NfdSynvIt5SArUWjwLH/hSR6gKaa1rn8ZMHHo8jPnnmRZ5TK8htT2Nodx+ivCPUoADvqOTx40x8B+eDc77HxvnVDBIQ7aAS+MEA7aiucxb2I8LxAsuXJN
}