forked from Amagash/amazon-bedrock-agents-quickstart
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathagent_aws_openapi.json
82 lines (82 loc) · 3.36 KB
/
agent_aws_openapi.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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
{
"openapi": "3.0.0",
"info": {
"title": "Agent AWS API",
"version": "1.0.0",
"description": "APIs helpeing customers with knowledge of AWS by querying the AWS Well-Architected Framework, writing code, and creating diagrams."
},
"paths": {
"/query_well_arch_framework": {
"get": {
"summary": "Query the the AWS Well-Architected Framework to answer a customer question.",
"description": "Query the the AWS Well-Architected Framework to answer a customer question. The API takes in the customer query then returns the answer and list of documents.",
"operationId": "queryWellArch",
"parameters": [
{
"name": "query",
"in": "path",
"description": "Customer query",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Query the the AWS Well-Architected Framework to answer a customer question.",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"answer": {
"type": "string",
"description": "The response to customer query and list of documents cited."
}
}
}
}
}
}
}
}
},
"/gen_code": {
"get": {
"summary": "Generate code for the customer",
"description": "Write code for the customer. The API takes in the customer query and returns the code for the customer.",
"operationId": "genCode",
"parameters": [
{
"name": "query",
"in": "path",
"description": "Customer query",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Code customer requested",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"code": {
"type": "string",
"description": "The code customer requested"
}
}
}
}
}
}
}
}
}
}
}