Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Search instruments #9

Merged
merged 4 commits into from
Sep 6, 2024
Merged

Search instruments #9

merged 4 commits into from
Sep 6, 2024

Conversation

zaironjacobs
Copy link
Collaborator

@zaironjacobs zaironjacobs commented Sep 5, 2024

Description

New endpoint added to search for instruments in the catalogue.
Uses the Hugging Face model paraphrase-multilingual-MiniLM-L12-v2.

Endpoint:
POST - /search_instruments?query=anxiety&instrument_length_min=5&instrument_length_max=10&source=ukllc&topics=anxiety

Query parameters:

  • query=anxiety
  • source=ukllc
  • topics=anxiety
  • instrument_length_min=5
  • instrument_length_max=10

Returns:
A list of instruments from the catalogue.

Type of change

  • New feature (non-breaking change which adds functionality)

@woodthom2 woodthom2 merged commit e33911a into main Sep 6, 2024
1 check failed
@woodthom2 woodthom2 deleted the search-instruments branch September 6, 2024 19:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants