Skip to content

feat(toolbar): discover valid indices and attributes#70

Open
dhayab wants to merge 2 commits intomainfrom
feat/toolbar-suggest-indices
Open

feat(toolbar): discover valid indices and attributes#70
dhayab wants to merge 2 commits intomainfrom
feat/toolbar-suggest-indices

Conversation

@dhayab
Copy link
Member

@dhayab dhayab commented Mar 4, 2026

Summary

  • Refactor get_suggestions AI tool from param-based ({ param }) to kind-based ({ suggestKind }) dispatch, removing the PARAM_SUGGESTIONS indirection layer
  • Add new suggestion sources: indices, indices:replicas, indices:qs, and indexAttributes
  • Emit typed [suggests: <kind>] annotations in widget type descriptions so the AI model knows exactly which suggestion kind to request, including for nested fields
  • Scope useChat session ID per environment to circumvent Agent Studio constraint
Replica indices Template Attributes
screenshot-20260304-153005@2x screenshot-20260304-152443@2x

@dhayab dhayab requested a review from sarahdayan March 4, 2026 14:31
@netlify
Copy link

netlify bot commented Mar 4, 2026

Deploy Preview for algolia-experiences-react ready!

Name Link
🔨 Latest commit f02d3a5
🔍 Latest deploy log https://app.netlify.com/projects/algolia-experiences-react/deploys/69a84226c1615d0008f16fba
😎 Deploy Preview https://deploy-preview-70--algolia-experiences-react.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify
Copy link

netlify bot commented Mar 4, 2026

Deploy Preview for algolia-experiences-js ready!

Name Link
🔨 Latest commit f02d3a5
🔍 Latest deploy log https://app.netlify.com/projects/algolia-experiences-js/deploys/69a84226983f830008210e07
😎 Deploy Preview https://deploy-preview-70--algolia-experiences-js.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

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.

1 participant