Search component backed by the Content AI content-sources/search and content-sources/gensearch APIs. It merges results from configured public content sources and can optionally show a generative summary.
Note: Live search and generative summary require a Content AI API configuration for the AEM environment. Without valid API credentials and content sources, examples may show empty results or errors.
Default card layout with generative summary toggle visible and enabled by default.
Generating answer...
Generative answer
Powered by Content AI
Sources
AI-generated responses may be inaccurate. Verify important information.
Something went wrong generating the summary.
- contentSources: example-public-source
- resultsLayout: card
- resultsSize: 12
- genSearchEnabledByDefault: true
- contentSourceType: ACQUISITION
- placeholder: Search content
- genSearchToggleVisible: true
- sling:resourceType: core-components-examples/components/contentaisearch
Generating answer...
Generative answer
Powered by Content AI
Sources
AI-generated responses may be inaccurate. Verify important information.
Something went wrong generating the summary.
List layout with the generative summary toggle hidden from visitors.
Generating answer...
Generative answer
Powered by Content AI
Sources
AI-generated responses may be inaccurate. Verify important information.
Something went wrong generating the summary.
- contentSources: example-public-source
- resultsLayout: list
- resultsSize: 12
- genSearchEnabledByDefault: false
- contentSourceType: ACQUISITION
- placeholder: Search content
- genSearchToggleVisible: false
- sling:resourceType: core-components-examples/components/contentaisearch
Generating answer...
Generative answer
Powered by Content AI
Sources
AI-generated responses may be inaccurate. Verify important information.
Something went wrong generating the summary.