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

How to get proper pictograms from ARASAAC API? #48

Open
AliLee0923 opened this issue Oct 28, 2024 · 0 comments
Open

How to get proper pictograms from ARASAAC API? #48

AliLee0923 opened this issue Oct 28, 2024 · 0 comments

Comments

@AliLee0923
Copy link
Contributor

This is the current logic of the project.

  • Get words from Chatgpt
  • Get pictograms from ARASAAC best search endpoint using these words
  • If it returns null, it tries to get pictograms from ARASAAC search endpoint
  • If it returns null again, it tries to get pictograms from ARASAAC search endpoint using synonym.

However, sometimes we can't get pictograms even if we used synonyms and it returns same result for other words because of synonym.

These are potential solutions from me.

  1. Optimize the prompt.
    We need to optimize the prompt to get words. So we can get pictograms from ARASAAC without fail.
    Or when we use synonyms, we can repeat it until we get pictograms and need to check if it is the same thing with the previous one.

  2. Use ARASAAC api
    In ARASAAC, there is an api to get a list of available keywords.
    We can ask chatgpt to choose words in this list..
    Or just implement the above one for only getting synonyms

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

No branches or pull requests

1 participant