Endpoints usage
Find ESCO skill best match based on different text (label and description) and languages (English and Deutsch)
GET http://localhost:5000/match_desc_en/{string}arrow-up-right (deprecated)
GET http://localhost:5000/match_desc_de/{string}arrow-up-right (deprecated)
GET http://localhost:5000/match_label_en/{string}arrow-up-right (deprecated)
Vectorise a text string based on the default LLM
GET http://localhost:5000/vectorisearrow-up-right (not publicly available)
POST https://proto.eduplex.eu/edu/api/v1/ai/sbert/vectorisearrow-up-right (publicly available, Authorization header is needed)
Request example:
Copy {
" vectorise " : [
" Text A to vectorise " ,
" Text B to vectorise " ,
" Text C to vectorise "
]
} @return: a JSON file with dimension, llm model, text to vectorise, and the numerical vector for eact text within the vectorise array
Compute skills similariry of existing skills in english
GET http://localhost:5000/compute_compare_skills/arrow-up-right
POST https://proto.eduplex.eu/edu/api/v1/ai/sbert/computeCompareSkillsarrow-up-right (Authorization header is needed)
Takes a JSON file with a pre-defined language and computes similarity scores for skills based on ESCO descriptions Similarity score is computed for each pair of skills. Currently only english is supported
Request example:
Response example:
JSON file with cosine similarity scores
Vectorise a text string based on the default LLM
GET http://localhost:5000/precomputed_compare_skills/arrow-up-right
POST https://proto.eduplex.eu/edu/api/v1/ai/sbert/preComputedCompareSkillsarrow-up-right (Authorization header is needed)
Takes a JSON file with a pre-defined serialised LLM and retrieves similarity scores for skills based on ESCO descriptions. Scores are retrieved from a previously vectorised model containing all vectors for all ESCO's skills trained with ESCO descriptions. Thus vector embeddings are not computed but retrieved, but semantic similarity is computed.
@return: JSON file with cosine similarity scores
Vectorise a text string based on the default LLM
GET http://localhost:5000/match_course_skills/arrow-up-right (not publicly available)
POST https://proto.eduplex.eu/edu/api/v1/ai/sbert/matchCourseSkillsarrow-up-right (Authorization header is needed, also including boolean param sanitize_all)
Takes a JSON.
@return: JSON file with top k matches for title, description, and learning goals