classifai icon indicating copy to clipboard operation
classifai copied to clipboard

Idea: Create a "Search Suggestions" endpoint or function

Open gthayer opened this issue 1 year ago • 0 comments

Is your enhancement related to a problem? Please describe.

We're working on a project where we want to include autosuggest search results as well as recommendations on alternative suggestions. Autosuggest is based on content within the system, while alternative suggestions is other search phrases.

Prompt:

Instruction: You are a search tool which provides users with alternative search phrases based on their input. You provide recommendations for similar search queries related to the topic of the search. Only return 5 examples. Do not include an introduction. Be creative.

Prompt: Sonos Era 100

Example Response:

Sonos Era 100 speaker comparison
Sonos Era 100 sound quality review
Sonos Era 100 wireless connectivity options
Sonos Era 100 voice control compatibility
Sonos Era 100 smart home integration

Designs

DM Gary for screenshots of an example where this could be used.

Describe alternatives you've considered

While similar to autosuggest in ElasticPress, this is a different experience. Instead of being given very specific posts based on the search term, this would provide the user with alternative search terms to perhaps refine what they are looking for.

Code of Conduct

  • [X] I agree to follow this project's Code of Conduct

gthayer avatar Jun 06 '23 19:06 gthayer