Skip to content

feat: add prompt suggestions widget#6855

Draft
aymeric-giraudet wants to merge 14 commits intomasterfrom
feat/prompt-suggestions-widget
Draft

feat: add prompt suggestions widget#6855
aymeric-giraudet wants to merge 14 commits intomasterfrom
feat/prompt-suggestions-widget

Conversation

@aymeric-giraudet
Copy link
Member

@aymeric-giraudet aymeric-giraudet commented Jan 8, 2026

Summary

FX-3606

Result

Screen.Recording.2026-01-08.at.15.29.25.mov

@aymeric-giraudet aymeric-giraudet requested review from a team, FabienMotte and shaejaz and removed request for a team January 8, 2026 14:30
@codesandbox-ci
Copy link

codesandbox-ci bot commented Jan 8, 2026

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 0b2dcf2:

Sandbox Source
example-instantsearch-getting-started Configuration
example-react-instantsearch-getting-started Configuration
example-react-instantsearch-next-app-dir-example Configuration
example-react-instantsearch-next-routing-example Configuration
example-vue-instantsearch-getting-started Configuration

/**
* Context object to send to the agent (e.g., product data for a PDP).
*/
context: Record<string, unknown>;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be just unknown? Is there a chance that they have an agent setup in way that only requires the object id for example?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We may need to be able to compare it if it changed, would be easier with an object idk. Could be { objectID: '' } too in this case anyway

@aymeric-giraudet aymeric-giraudet force-pushed the feat/prompt-suggestions-widget branch from 09bb7f9 to 5eb61a6 Compare January 21, 2026 15:35
@Haroenv Haroenv marked this pull request as draft January 21, 2026 16:03
@aymeric-giraudet aymeric-giraudet force-pushed the feat/prompt-suggestions-widget branch from 5eb61a6 to b4d91ff Compare January 21, 2026 16:05
PromptSuggestionsWidgetDescription['indexRenderState'] {
return {
...renderState,
promptSuggestions: this.getWidgetRenderState(renderOptions),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

because we use a different widget, do you mind reverting the type change in chat widget?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can be in a different PR

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will make a different PR yeah

@aymeric-giraudet aymeric-giraudet force-pushed the feat/prompt-suggestions-widget branch from c322c69 to 3816b0f Compare January 30, 2026 16:47
@aymeric-giraudet aymeric-giraudet force-pushed the feat/prompt-suggestions-widget branch from 3816b0f to 0b2dcf2 Compare January 30, 2026 16:48
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

Successfully merging this pull request may close these issues.

4 participants