Debian Codegraph @

wyoming/http/conf/intent.yaml

raw
1 ---
2 openapi: "3.0.0"
3 info:
4 title: 'Wyoming Intent'
5 version: '1.0.0'
6 description: 'API for Intent Recognition'
7 paths:
8 /api/info:
9 get:
10 summary: 'Get service information'
11 responses:
12 '200':
13 description: OK
14 content:
15 application/json:
16 schema:
17 /api/recognize-intent:
18 post:
19 summary: 'Recognize or handle intent'
20 requestBody:
21 description: 'Text to process'
22 required: true
23 content:
24 text/plain:
25 schema:
26 type: string
27 parameters:
28 - in: query
29 name: language
30 description: 'Language of text'
31 schema:
32 type: string
33 - in: query
34 name: uri
35 description: 'URI of Wyoming intent service'
36 schema:
37 type: string
38 responses:
39 '200':
40 description: OK
41 content:
42 text/plain:
43 schema:
44 type: string
45 application/json:
46 schema:
47 get:
48 summary: 'Recognize or handle intent'
49 parameters:
50 - in: query
51 name: text
52 description: 'Text to process'
53 required: true
54 schema:
55 type: string
56 - in: query
57 name: language
58 description: 'Language of text'
59 schema:
60 type: string
61 - in: query
62 name: uri
63 description: 'URI of Wyoming intent service'
64 schema:
65 type: string
66 responses:
67 '200':
68 description: OK
69 content:
70 text/plain:
71 schema:
72 type: string
73 application/json:
74 schema: