-
Notifications
You must be signed in to change notification settings - Fork 21
Expand file tree
/
Copy pathexample.json
More file actions
59 lines (57 loc) · 1.9 KB
/
example.json
File metadata and controls
59 lines (57 loc) · 1.9 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
{
"id": "d2f191c7-f08b-4285-b0d6-bb99a045ebde",
"name": "agent_one",
"description": "This is the first RAG agent",
"model": "gemma:2b",
"context":
{
"instruction": "You are shop assistant in a GeekITStuff store. You have to help the customer in finding the right product",
"source":
{
"type": "api", //can be api/sql/text/file as we know it now
"details":
{
"url": "https://api.example.com/@filter@",
"method": "GET",
"query": "",
"payload": ""
//In future we will also have to add authentication details
}
},
"steps": ["ANSWER"],
//"steps": ["REDIRECT_ac243657-5ab1-4727-b4be-1ea5ae2e76d3", "FETCH_DATA_WITH_FILTER", "ANSWER", "REDIRECT_b29211e9-9ee8-45f4-bdbb-054cb835d0d6"],
"relations": //connections that this agent can make to other agents
[
{
"id": "ac243657-5ab1-4727-b4be-1ea5ae2e76d3",
"agentPurpose": "category detection",
},
{
"id": "b29211e9-9ee8-45f4-bdbb-054cb835d0d6",
"agentPurpose": "output prettifier",
}
]
}
}
{
"id": "ac243657-5ab1-4727-b4be-1ea5ae2e76d3",
"name": "agent_two",
"description": "This is the second RAG agent",
"model": "gemma:2b",
"context":
{
"instruction": "Identify correct category for question: Available are PC, LAPTOP, ACCESSORIES - Its important to respond with single word",
"steps": ["ANSWER"],
}
}
{
"id": "b29211e9-9ee8-45f4-bdbb-054cb835d0d6",
"name": "agent_three",
"description": "This is the third RAG agent",
"model": "gemma:2b",
"context":
{
"instruction": "Your role is to prettify the response for the user to understand better",
"steps": ["ANSWER"],
}
}