Skip to content

Implement generic match algorithm definition config for OCL Mapper #2301

@paynejd

Description

@paynejd

Core OCL API (and the open-source distro) supports at least 2 algos out of the box. OCL Online may host several more algos. This is to define the algorithms that are available to an instance of OCL Mapper -- independent of its deployment environment. Default config should point to a bundled OCL API (i.e. ocl-search, ocl-semantic). OCL Mapper will need a simple data model for this, but expect that the configuration will live in a file managed by sysadmin at this stage.

@snyaggarwal Please review and add your thoughts -- especially the approach of this living in OCL Mapper not OCL API. Since TBv3 will also expose match options, implementing as OCL Mapper config may not be sufficient. What about a single Match Algo config file that is used by any of the services that you have deployed? That way it works with OCL Mapper and TBv3 (and API?)

OCL Online will start with the following options:

  • ocl-search (or ocl-standard?)
  • ocl-semantic
  • ciel-bridge
  • scispacy-loinc
field description example
id Unique identifier used in OCL Mapper, saving projects, downloading spreadsheet, etc. "ocl-semantic"
name User-friendly name of algorithm "OCL Semantic Search"
description User-friendly short description of an algorithm "semantic (cosine similarity) search and lexical/keyword search on names using cross-lingual vector embeddings with keyword-based property matching"
llm-context LLM-facing context for interpretation of results BM25 raw score, etc.
request_url Match API request URL https://api.openconceptlab.org/concepts/$match/

Also consider:

  • Applicable target repository(ies) and version range(s)
  • Supported field mappings
  • Authentication Approach

Sub-issues

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

Status

Requirements

Relationships

None yet

Development

No branches or pull requests

Issue actions