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

Expand suggest_dataset_name to potentially suggest multiple datasets names #28

Conversation

Moohan
Copy link
Member

@Moohan Moohan commented Apr 18, 2024

I noticed that for the prompt populations it was suggesting hospital-codes, this was because there were multiple 'options' that were equally 'close'. This tweak allows suggesting any amount when many are equally close.

I don't think hospital-codes is a good suggestion for populations but to fix that we'd have to change how it works out the string distances (e.g. change the method).

Moohan added 2 commits April 18, 2024 17:50
I noticed that for the prompt `populations` it was suggesting `hospital-codes`, this was because there were multiple 'options' that were equally 'close'. This tweak allows suggesting any amount when many are equally close.

I don't think `hospital-codes` is at all a good suggestion for `populations` but to fix that we'd have to change how it works out the string distances (e.g. change the `method`).
@Moohan Moohan force-pushed the feature/suggest_multiple_datasets branch from 067e5b0 to 15549c4 Compare April 18, 2024 16:50
@csillasch csillasch merged commit 6f57c1d into Public-Health-Scotland:master Jun 13, 2024
12 checks passed
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