-
Notifications
You must be signed in to change notification settings - Fork 78
Expand file tree
/
Copy pathagent_openai_with_messages_cli.json
More file actions
99 lines (99 loc) · 2.08 KB
/
Copy pathagent_openai_with_messages_cli.json
File metadata and controls
99 lines (99 loc) · 2.08 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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
{
"graph": {
"nodes": [
{
"id": "message",
"type": "nodetool.input.MessageInput",
"name": "message"
},
{
"id": "extract",
"type": "nodetool.input.MessageDeconstructor"
},
{
"id": "system",
"type": "nodetool.input.StringInput",
"name": "system",
"data": {
"name": "system"
}
},
{
"id": "model",
"type": "nodetool.input.LanguageModelInput",
"name": "model",
"data": {
"value": {
"type": "language_model",
"provider": "openai",
"id": "gpt-4o",
"name": "GPT-4o"
},
"name": "model"
}
},
{
"id": "agent",
"type": "nodetool.agents.Agent"
},
{
"id": "sink",
"type": "nodetool.control.Reroute",
"name": "agent_text"
}
],
"edges": [
{
"source": "message",
"sourceHandle": "output",
"target": "extract",
"targetHandle": "value"
},
{
"source": "extract",
"sourceHandle": "text",
"target": "agent",
"targetHandle": "prompt"
},
{
"source": "system",
"sourceHandle": "output",
"target": "agent",
"targetHandle": "system"
},
{
"source": "model",
"sourceHandle": "output",
"target": "agent",
"targetHandle": "model"
},
{
"source": "agent",
"sourceHandle": "text",
"target": "sink",
"targetHandle": "input_value"
}
]
},
"params": {
"system": "You are an assistant that rewrites user text as concise notes.",
"message": {
"id": "m1",
"thread_id": "t1",
"role": "user",
"provider": "openai",
"model": "gpt-4o",
"content": [
{
"type": "text",
"text": "Summarize why provider abstractions matter."
}
]
},
"model": {
"provider": "openai",
"id": "gpt-4o",
"name": "GPT-4o"
}
}
}