Skip to content

Commit

Permalink
Test rendering for Box AI new naming
Browse files Browse the repository at this point in the history
  • Loading branch information
bszwarc committed Apr 5, 2024
1 parent d2686c6 commit 0dfdb55
Showing 1 changed file with 27 additions and 27 deletions.
54 changes: 27 additions & 27 deletions openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -286,16 +286,16 @@
"/ai/ask": {
"post": {
"operationId": "post_ai_ask",
"summary": "Send intelligence request",
"tags": ["Intelligence"],
"x-box-tag": "intelligence",
"summary": "Send AI request",
"tags": ["AI"],
"x-box-tag": "ai",
"x-box-scopes": ["ai.readwrite"],
"description": "Sends an intelligence request to supported LLMs and returns an answer.",
"description": "Sends an AI request to supported LLMs and returns an answer.",
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Intelligence"
"$ref": "#/components/schemas/Ai"
}
}
}
Expand All @@ -306,7 +306,7 @@
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/IntelligenceResponse"
"$ref": "#/components/schemas/AiResponse"
}
}
}
Expand Down Expand Up @@ -337,16 +337,16 @@
"/ai/text_gen": {
"post": {
"operationId": "post_ai_text_gen",
"summary": "Send intelligence request (text gen)",
"tags": ["Intelligence"],
"x-box-tag": "intelligence",
"summary": "Send AI text gen request",
"tags": ["AI"],
"x-box-tag": "ai",
"x-box-scopes": ["ai.readwrite"],
"description": "Sends an intelligence request to supported LLMs and returns an answer.",
"description": "Sends an AI request to supported LLMs and returns an answer.",
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/IntelligenceTextGen"
"$ref": "#/components/schemas/AiTextGen"
}
}
}
Expand All @@ -357,7 +357,7 @@
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/IntelligenceResponse"
"$ref": "#/components/schemas/AiResponse"
}
}
}
Expand Down Expand Up @@ -27510,11 +27510,11 @@
}
]
},
"IntelligenceResponse": {
"title": "Intelligence",
"AiResponse": {
"title": "AI",
"type": "object",
"x-box-resource-id": "intelligence",
"x-box-tag": "intelligence",
"x-box-resource-id": "ai_response",
"x-box-tag": "ai",
"required": ["answer", "created_at"],
"properties": {
"answer": {
Expand All @@ -27534,7 +27534,7 @@
"example": "done"
}
},
"description": "Intelligence response to user request."
"description": "AI response to a user request."
},
"Group": {
"title": "Group",
Expand Down Expand Up @@ -35012,10 +35012,10 @@
}
}
},
"Intelligence": {
"title": "Intelligence",
"Ai": {
"title": "AI",
"type": "object",
"x-box-resource-id": "intelligence_ask",
"x-box-resource-id": "ai_ask_request",
"required": ["mode", "prompt", "items"],
"properties": {
"mode": {
Expand Down Expand Up @@ -35060,11 +35060,11 @@
}
}
},
"description": "Intelligence request object"
"description": "Ai request object"
},
"IntelligenceTextGen": {
"title": "Intelligence Text Gen",
"x-box-resource-id": "intelligence_text_gen",
"AiTextGen": {
"title": "AI Text Gen",
"x-box-resource-id": "ai_text_gen_request",
"type": "object",
"required": ["prompt", "items"],
"properties": {
Expand Down Expand Up @@ -35129,7 +35129,7 @@
}
}
},
"description": "Intelligence Text Gen Request object"
"description": "AI Text Gen Request object"
},
"TimelineSkillCard": {
"type": "object",
Expand Down Expand Up @@ -36077,8 +36077,8 @@
"x-box-tag": "integration_mappings"
},
{
"name": "Intelligence",
"x-box-tag": "intelligence"
"name": "AI",
"x-box-tag": "ai"
},
{
"name": "Group memberships",
Expand Down

0 comments on commit 0dfdb55

Please sign in to comment.