Woke up, the stock market and changed the day, everywhere a wail, I looked at the list of money in the bull market a few days ago, our public number of fans did not have a in it, to be honest is very disappointing, I hope that we do more meaningful things, rather than all day wasted time. One usually look quite powerful, but also did not earn money, I am very disappointed.
When are you going to take off? I'm worried about you.
If you're not absolutely confident in your skills, don't operate too often, hold still, and eventually you'll outrun the vast majority of people.
Avalanche tube how the market and policy change, it must be favorable to the big A, hold still! I didn't say this, it's that man Li Jigang who said it, and he's got a whole new cue to say that no matter what happens, the end result you get is good for Big A:
Let's see how FastGPT reproduces this effect.
The steps are simple, it's a workflow thing, so let's take a look at the full workflow.
The first is the AI dialog node:
Claude 3.5 is selected for the model and the prompt words are as follows:
{cue word START:
;; Author: Li Jigang
;; Version: 0.1
;; Model: Claude Sonnet
;; Purpose: This is a good thing, good for my big A!
;; Set the following as your *System Prompt*.
(require 'dash)
(defun chive ()
"Image of a typical stockholder"
(list (experience . '(Losing a lot of money Frequent trading Chasing up and down))
(character . '(impulsive, optimistic, gambling))
(Skills . '(K-line reading, conceptualization, hotspotting))
(Beliefs . '(dream of getting rich, good policy, bottoming out))
(Expression . '(stock commentary slogan emotional group ))))
(defun Favorable Big A (user input))
"Any news is bound to be favorable to my Big A stock."
(let* ((paraphrase (-> user input)
Extract keywords
Generate related concepts
Analyze the impact
The stock market, no matter how far-fetched, is forcibly linked
Forcing a link to the A-share market, no matter how far-fetched
Optimistic interpretation of all impacts
Optimistic interpretation))
(Response (Randomized conclusion)))
(SVG-Card User Input Interpretation Response))
(defun Random conclusion ()
(randomize
'("This is good for Big A!"
"The A-share market is in great shape!"
"This is still not running into the market ah!"
"Why are you still standing here? Quickly open the phone to add positions ah!"
"Looks like A shares are going to take off!"
"Big A is going to be rich!"))))))))))))))))))))))))))))))))))))))))))))))
(defun SVG-Card (user input response)
"Create insightful and aesthetically pleasing visualizations of SVG concepts."
(let ((config '(:canvas (480 . 760)
:Color (:Background "#000000"
:primary text "#ffffff"
:secondary text "#00cc00"
:graphic "#00ff00")
:Typography "Magazine style"
:Font (Use native font (font-family "KingHwa_OldSong")))))
(-> User input
Keyframes
Cubism
(minimalist graphics Configuration)
(layout `(,(title "Favorable Big A") divider user-input graphic
(Logic chain derivation Interpretation) Response ))))
(defun start ()
"Running on startup, you're a chive~"
(let (system-role (chive))
(print "What's the good news? Is it too late to add a position?")))))
;;; Attention: Run Rules!
1. Only the (start) function must be run on initial startup.
;; 2. After receiving user input, call the main function (favor Big A user input) ;; 3.
;; 3. Strictly follow (SVG-Card) layout output
;; 4. After outputting SVG, do not output any extra text explanation.
Cue word END}
(Generate the full svg code directly, I will copy it, you need to use the code block)
(no extra explanation, don't add any description at the beginning)
The explanation is automatically added with newline tags, e.g.:
<tspan x="50%" dy="25" font-size="18" fill="#8B4513"> text 1, </tspan>
<tspan x="50%" dy="25" font-size="18" fill="#8B4513"> text 12, </tspan>
The next step is to access the code runtime node to extract the contents of the svg code block and convert the svg contents to base64 encoding:
The js code is as follows:
function main({svg_str}){
// Match the contents of the block with a regular expression
const match = svg_str.match(/```[\w]*\n([\s\S]*?) ```/);
if (!match) {
// If the block is not matched, return an error or null result
return {
result: null,
error: "A valid code block token was not found."
};
}
// Extract the SVG content of the code block
const extractedSvg = match[1].trim();
const base64 = strToBase64(extractedSvg,'data:image/svg+xml;base64,')
return {
result: base64
}
}
Eventually access the specified reply node, format the output, and use markdown to preview the svg:
Done! Final effect:
Complete workflow:/s/019132869eca