poc(chat): add refinement suggestions to search index tool#6827
Open
FabienMotte wants to merge 9 commits intomasterfrom
Open
poc(chat): add refinement suggestions to search index tool#6827FabienMotte wants to merge 9 commits intomasterfrom
FabienMotte wants to merge 9 commits intomasterfrom
Conversation
|
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit 1a21932:
|
82b6354 to
374a2c1
Compare
Haroenv
reviewed
Dec 3, 2025
Contributor
Haroenv
left a comment
There was a problem hiding this comment.
I think this approach is as good as it will get. We should use send message instead of resolving the tool, as the tool is usually at the start of the message and the user isn't ready to respond yet.
packages/instantsearch-ui-components/src/components/FilterPill.tsx
Outdated
Show resolved
Hide resolved
f483768 to
1f6bc95
Compare
f0a1b26 to
0ac96e8
Compare
c1fa2e8 to
9af869e
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
FX-3608
This PR:
algolia_search_indextool to display the suggested refinements after the hits carousel using pills. I added a loader for the tool (we are missing it in the current implementation).sendMessagefunction to apply the selected refinement as part of the conversation. This triggers thealgolia_search_indextool again with the new refinement applied (using thefacetFiltersparameter in the tool input).Result
refinement_suggestions.mp4