-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtrain.json
67 lines (67 loc) · 3.22 KB
/
train.json
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
[
{
"context": "module icons { \n yang-version 1.1; \n namespace 'http://anutanetworks.com/icons'; \n prefix ico; \n\n organization \n 'Anuta Networks'; \n \n revision 2021-06-30 { \n description \n 'Report Infra Icons'; \n } \n\n container icons { \n list category { \n key 'name'; \n leaf name { \n type string; \n } \n leaf description { \n type string; \n } \n list icon { \n key 'name'; \n leaf name { \n type string; \n } \n leaf description { \n type string; \n } \n leaf url { \n type string; \n } \n } \n } \n } \n } \n. Based on the above YANG model return me RESTCONF-API method and request body for the questions asked, [Method: GET; API: /restconf/data/icons:icons/category]",
"qas": [
{
"id": "00001",
"is_impossible": false,
"question": "Retrieve all the available icons?",
"answers": [
{
"text": "Method: GET; API: /restconf/data/icons:icons/category",
"answer_start": 580
}
]
},
{
"id": "00002",
"is_impossible": false,
"question": "Give me all the icons?",
"answers": [
{
"text": "Method: GET; API: /restconf/data/icons:icons/category",
"answer_start": 580
}
]
}
]
},
{
"context": "module example-forms {\n yang-version 1.1; \n namespace 'http://example.com/example-forms'; \n prefix js; \n \n organization \n 'Example Networks'; \n \n revision 2021-11-19; \n \n container forms { \n list form { \n key 'name'; \n leaf name { \n type string; \n } \n leaf description { \n type string; \n } \n leaf-list tags { \n type string; \n } \n leaf form-schema { \n description \n 'Json payload.'; \n type string; \n } \n } \n } \n }. Based on the above YANG model return me RESTCONF-API method and request body for the questions asked, [Method: GET; API: /example-forms:forms/form]",
"qas": [
{
"id": "00003",
"is_impossible": false,
"question": "Can you list all the available forms?",
"answers": [
{
"text": "Method: GET; API: /example-forms:forms/form",
"answer_start": 520
}
]
},
{
"id": "00004",
"is_impossible": false,
"question": "Can you give me all the available forms?",
"answers": [
{
"text": "Method: GET; API: /example-forms:forms/form",
"answer_start": 520
}
]
},
{
"id": "00005",
"is_impossible": false,
"question": "Can you show me all the forms?",
"answers": [
{
"text": "Method: GET; API: /example-forms:forms/form",
"answer_start": 520
}
]
}
]
}
]