You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, we are using the ARASAAC API's "beast search" endpoint by default to search for images, which returns the best pictograms based on the searchText.
Main Problem:
Occasionally, the API returns a 404 Not Found, resulting in an empty image being associated with a tile.
Edge Cases:
The issue often occurs when the search text contains a non-infinitive verb. For example:
Searching for "brushing teeth" results in a 404 error. However, searching for "brush teeth" returns a successful response.
Plural words
Possible Solutions:
Modify the search prompt to implicitly return verbs in their infinitive form.
Add a fallback mechanism when a 404 error is encountered. Options include:
Searching alternative symbol sets in GlobalSymbols.
Using ARASAAC’s "search" endpoint instead of the "beast search" endpoint. If "beast search" is used, define a maximum number of images to avoid retrieving an excessive amount.
The text was updated successfully, but these errors were encountered:
Currently, we are using the ARASAAC API's "beast search" endpoint by default to search for images, which returns the best pictograms based on the searchText.
Main Problem:
Occasionally, the API returns a 404 Not Found, resulting in an empty image being associated with a tile.
Edge Cases:
Searching for "brushing teeth" results in a 404 error. However, searching for "brush teeth" returns a successful response.
Possible Solutions:
The text was updated successfully, but these errors were encountered: