Skip to content

v1.0.0

Latest
Compare
Choose a tag to compare
@woodthom2 woodthom2 released this 27 Aug 06:52
· 9 commits to main since this release

Add match_instruments functionality so that Harmony web API will now return matching items from catalogues such as UKLLC, Mental Health Catalogue
Updated PDF extraction to use Scikit-Learn instead of spaCy
Upgraded to Pydantic V2 (thanks to @op-cls)
Add integration function create_instrument_from_list so that user can import to web UI from Python (documentation here: https://harmonydata.ac.uk/integrating-with-harmony/ ) :

from harmony import create_instrument_from_list, import_instrument_into_harmony_web

instrument = load_instrument_from_list(["Do you currently smoke or have you ever smoked?", "[Do you currently use] nicotine replacement therapy?"])
web_url = import_instrument_into_harmony_web(instrument)

print (web_url)