Skip to content

Comments

feat(toolbar): add AI knowledge layer for widget suggestions#40

Draft
sarahdayan wants to merge 1 commit intomainfrom
feat/ai-knowledge-layer
Draft

feat(toolbar): add AI knowledge layer for widget suggestions#40
sarahdayan wants to merge 1 commit intomainfrom
feat/ai-knowledge-layer

Conversation

@sarahdayan
Copy link
Member

@sarahdayan sarahdayan commented Feb 23, 2026

Summary

  • Add per-widget aiKnowledge field (useCases + parameterHints) to WidgetTypeConfig so the AI agent can map fuzzy user intent (e.g., "add search to my site") to the right widget type.
  • Inject "When to use" and "Parameter hints" sections into the describeWidgetTypes() prompt output.
  • Add a "Widget suggestions" section to the system prompt encouraging proactive widget recommendations.
  • Add tests for AI knowledge presence in prompt output.

Refs: FX-3720

Add per-widget `aiKnowledge` field with use-case descriptions and
parameter inference hints so the AI agent can map fuzzy user intent
to the right widget type.

Refs: FX-3720

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@netlify
Copy link

netlify bot commented Feb 23, 2026

Deploy Preview for algolia-experiences-js ready!

Name Link
🔨 Latest commit b0b6880
🔍 Latest deploy log https://app.netlify.com/projects/algolia-experiences-js/deploys/699c8549d862f1000779ef0e
😎 Deploy Preview https://deploy-preview-40--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.

@netlify
Copy link

netlify bot commented Feb 23, 2026

Deploy Preview for algolia-experiences-react ready!

Name Link
🔨 Latest commit b0b6880
🔍 Latest deploy log https://app.netlify.com/projects/algolia-experiences-react/deploys/699c85493431c1000845b43f
😎 Deploy Preview https://deploy-preview-40--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.

@sarahdayan sarahdayan marked this pull request as draft February 23, 2026 17:31
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