Update API.yaml
Browse files
API.yaml
CHANGED
@@ -1,37 +1,46 @@
|
|
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 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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
|