trangannh commited on
Commit
bc4ca86
1 Parent(s): 5915886

Upload API.yaml

Browse files
Files changed (1) hide show
  1. API.yaml +37 -0
API.yaml ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ openapi: 3.0.0
2
+ info:
3
+ title: Job Recommender API
4
+ version: "1.0.0"
5
+ servers:
6
+ - url: https://api-inference.huggingface.co/models/trangannh/ptit-job-recommendation
7
+ description: Production server
8
+ paths:
9
+ /recommend:
10
+ post:
11
+ summary: Get job recommendations
12
+ operationId: recommend
13
+ requestBody:
14
+ required: true
15
+ content:
16
+ application/json:
17
+ schema:
18
+ type: object
19
+ properties:
20
+ input_hard_skills:
21
+ type: string
22
+ input_soft_skills:
23
+ type: string
24
+ input_major:
25
+ type: string
26
+ responses:
27
+ '200':
28
+ description: Successful response
29
+ content:
30
+ application/json:
31
+ schema:
32
+ type: object
33
+ properties:
34
+ recommendations:
35
+ type: array
36
+ items:
37
+ type: string