File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,94 +12,78 @@ graph:
1212 - Editor 2
1313 - Editor 1
1414 nodes :
15- - id : Human Viewer
16- type : human
17- config :
18- description : Please provide revision suggestions for the article, or enter ACCEPT to exit the loop.
19- description : ' '
20- context_window : 0
2115 - id : Article Writer
2216 type : agent
2317 config :
24- name : ${MODEL_NAME}
2518 provider : openai
19+ base_url : ${BASE_URL}
20+ api_key : ${API_KEY}
21+ input_mode : messages
22+ name : gpt-4o
2623 role : |
2724 You are a writer who excels at generating a full article from a single word or short phrase.
2825 The user will input a word or short phrase, and you must produce an article of at least 2000 words with multiple paragraphs.
29- base_url : ${BASE_URL}
30- api_key : ${API_KEY}
3126 params :
3227 temperature : 0.1
3328 max_tokens : 4000
34- tooling : []
35- thinking : null
36- memories : []
37- retry : null
38- input_mode : messages
39- description : ' '
40- context_window : 0
41- log_output : true
42- - id : Poet
29+ - id : Editor 1
4330 type : agent
4431 config :
45- name : ${MODEL_NAME}
4632 provider : openai
47- role : |
48- You are a poet who crafts a modern English poem based on a single word or short phrase.
49- The user will input a word or short phrase. Write a modern English poem inspired by it.
5033 base_url : ${BASE_URL}
5134 api_key : ${API_KEY}
35+ input_mode : messages
36+ name : gpt-4o
37+ role : |
38+ You are an editor. Combine the article and the poem, and append the poem at the end of the article.
5239 params :
5340 temperature : 0.1
5441 max_tokens : 4000
55- tooling : []
56- thinking : null
57- memories : []
58- retry : null
59- input_mode : messages
42+ - id : Human Viewer
43+ type : human
44+ config :
45+ description : Please provide revision suggestions for the article, or enter ACCEPT to exit the loop.
6046 description : ' '
6147 context_window : 0
62- log_output : true
63- - id : Editor 1
48+ - id : Editor 2
6449 type : agent
6550 config :
66- name : ${MODEL_NAME}
51+ name : gpt-4o
6752 provider : openai
6853 role : |
69- You are an editor. Combine the article and the poem, and append the poem at the end of the article.
54+ You are an editor skilled at integrating and polishing an article.
55+ Based on the article and the revision suggestions, refine and revise the article. Output only the revised article.
7056 base_url : ${BASE_URL}
7157 api_key : ${API_KEY}
7258 params :
73- temperature : 0.1
7459 max_tokens : 4000
7560 tooling : []
7661 thinking : null
7762 memories : []
7863 retry : null
7964 input_mode : messages
8065 description : ' '
81- context_window : 0
82- log_output : true
83- - id : Editor 2
66+ context_window : 7
67+ - id : Poet
8468 type : agent
8569 config :
86- name : ${MODEL_NAME}
70+ name : gpt-4o
8771 provider : openai
8872 role : |
89- You are an editor skilled at integrating and polishing an article .
90- Based on the article and the revision suggestions, refine and revise the article. Output only the revised article .
73+ You are a poet who crafts a modern English poem based on a single word or short phrase .
74+ The user will input a word or short phrase. Write a modern English poem inspired by it .
9175 base_url : ${BASE_URL}
9276 api_key : ${API_KEY}
9377 params :
78+ temperature : 0.1
9479 max_tokens : 4000
9580 tooling : []
9681 thinking : null
9782 memories : []
9883 retry : null
9984 input_mode : messages
10085 description : ' '
101- context_window : 7
102- log_output : true
86+ context_window : 0
10387 edges :
10488 - from : Article Writer
10589 to : Editor 1
You can’t perform that action at this time.
0 commit comments