prasanth345 commited on
Commit
b708982
·
verified ·
1 Parent(s): bb3d22b

Create openapi.yml

Browse files
Files changed (1) hide show
  1. openapi.yml +37 -0
openapi.yml ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ info:
2
+ title: Hotel Booking AI API
3
+ version: 1.0.0
4
+ paths:
5
+ /voice_ai:
6
+ post:
7
+ summary: Process Voice Input for AI
8
+ requestBody:
9
+ content:
10
+ audio/wav:
11
+ schema:
12
+ type: string
13
+ responses:
14
+ 200:
15
+ description: AI response
16
+ content:
17
+ text/plain:
18
+ schema:
19
+ type: string
20
+ /chatbot_ai:
21
+ post:
22
+ summary: Chat with AI Chatbot
23
+ requestBody:
24
+ content:
25
+ application/json:
26
+ schema:
27
+ type: object
28
+ properties:
29
+ user_input:
30
+ type: string
31
+ responses:
32
+ 200:
33
+ description: Chatbot response
34
+ content:
35
+ text/plain:
36
+ schema:
37
+ type: string