trangannh commited on
Commit
44a80a6
1 Parent(s): bc4ca86

Update API.yaml

Browse files
Files changed (1) hide show
  1. API.yaml +46 -37
API.yaml CHANGED
@@ -1,37 +1,46 @@
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
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - job-recommendation
4
+ - machine-learning
5
+ - api
6
+ model-type: text-recommendation
7
+ language: python
8
+ license: MIT
9
+ ---
10
+ openapi: 3.0.0
11
+ info:
12
+ title: Job Recommender API
13
+ version: "1.0.0"
14
+ servers:
15
+ - url: https://api-inference.huggingface.co/models/trangannh/ptit-job-recommendation
16
+ description: Production server
17
+ paths:
18
+ /recommend:
19
+ post:
20
+ summary: Get job recommendations
21
+ operationId: recommend
22
+ requestBody:
23
+ required: true
24
+ content:
25
+ application/json:
26
+ schema:
27
+ type: object
28
+ properties:
29
+ input_hard_skills:
30
+ type: string
31
+ input_soft_skills:
32
+ type: string
33
+ input_major:
34
+ type: string
35
+ responses:
36
+ '200':
37
+ description: Successful response
38
+ content:
39
+ application/json:
40
+ schema:
41
+ type: object
42
+ properties:
43
+ recommendations:
44
+ type: array
45
+ items:
46
+ type: string