-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathkirill.customgpt.ai.yaml
42 lines (42 loc) · 1011 Bytes
/
kirill.customgpt.ai.yaml
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
openapi: 3.0.2
info:
title: Indoor Plants
description: Plugin for information about indoor plants
version: 1.0.0
servers:
- url: https://kirill.customgpt.ai
paths:
/query:
post:
summary: Request the context
description: Query to request the context
operationId: query_get_context
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/GetContextRequest'
responses:
"200":
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/GetContextResponse'
components:
schemas:
GetContextRequest:
title: GetContextRequest
type: object
properties:
text:
type: string
GetContextResponse:
title: GetContextResponse
type: object
properties:
context:
type: string
error:
type: string