trangannh's picture
Update API.yaml
44a80a6 verified
raw
history blame
1.11 kB
---
tags:
- job-recommendation
- machine-learning
- api
model-type: text-recommendation
language: python
license: MIT
---
openapi: 3.0.0
info:
title: Job Recommender API
version: "1.0.0"
servers:
- url: https://api-inference.huggingface.co/models/trangannh/ptit-job-recommendation
description: Production server
paths:
/recommend:
post:
summary: Get job recommendations
operationId: recommend
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
input_hard_skills:
type: string
input_soft_skills:
type: string
input_major:
type: string
responses:
'200':
description: Successful response
content:
application/json:
schema:
type: object
properties:
recommendations:
type: array
items:
type: string