-
-
Notifications
You must be signed in to change notification settings - Fork 18
Expand file tree
/
Copy pathai_content_summarizer.json
More file actions
72 lines (72 loc) · 1.89 KB
/
ai_content_summarizer.json
File metadata and controls
72 lines (72 loc) · 1.89 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
{
"id": "ai-content-summarizer",
"name": "AI Content Summarizer",
"description": "Demonstrates AI step with variable piping: extracts article text and summarizes it with AI",
"nodes": [
{
"id": "1",
"type": "automationStep",
"data": {
"step": {
"id": "1",
"type": "navigate",
"description": "Go to an article page",
"value": "https://example.com"
}
},
"position": { "x": 250, "y": 50 }
},
{
"id": "2",
"type": "automationStep",
"data": {
"step": {
"id": "2",
"type": "extract",
"description": "Extract article body text",
"selector": "body",
"storeKey": "articleText"
}
},
"position": { "x": 250, "y": 170 }
},
{
"id": "3",
"type": "automationStep",
"data": {
"step": {
"id": "3",
"type": "aiOpenAI",
"description": "Summarize the article with AI",
"model": "gpt-4o-mini",
"prompt": "Summarize the following article in 3 bullet points:\n\n{{articleText}}",
"systemPrompt": "You are a concise summarization assistant.",
"temperature": 0,
"maxTokens": 256,
"baseUrl": "https://api.openai.com/v1",
"storeKey": "summary"
}
},
"position": { "x": 250, "y": 290 }
},
{
"id": "4",
"type": "automationStep",
"data": {
"step": {
"id": "4",
"type": "setVariable",
"description": "Store report with summary",
"variableName": "report",
"value": "Summary: {{summary}}"
}
},
"position": { "x": 250, "y": 410 }
}
],
"edges": [
{ "id": "e1-2", "source": "1", "target": "2" },
{ "id": "e2-3", "source": "2", "target": "3" },
{ "id": "e3-4", "source": "3", "target": "4" }
]
}