Endpoints Sbert_eduplex

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} (deprecated)

GET http://localhost:5000/match_desc_de/{string} (deprecated)

GET http://localhost:5000/match_label_en/{string} (deprecated)

Vectorise a text string based on the default LLM

GET http://localhost:5000/vectorise (not publicly available)

POST https://proto.eduplex.eu/edu/api/v1/ai/sbert/vectorise (publicly available, Authorization header is needed)

Request example:

{
    "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/

POST https://proto.eduplex.eu/edu/api/v1/ai/sbert/computeCompareSkills (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/

POST https://proto.eduplex.eu/edu/api/v1/ai/sbert/preComputedCompareSkills (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/ (not publicly available)

POST https://proto.eduplex.eu/edu/api/v1/ai/sbert/matchCourseSkills (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

Last updated