Open
Description
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.
-
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. -
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
Metadata
Assignees
Labels
No labels
Activity