Releases: smartcloudsol/ai-kit
AI-Kit v1.1.3 - DocSearch improvements
This release refines the DocSearch filtering workflow and improves response correctness when users intentionally switch scope.
✅ Conditional Filters UI
The Filters section is now rendered only when there are actual categories or tags available. This avoids showing an empty or misleading UI on sites without configured taxonomy.
🔍 enableUserFilters now fully disables backend filtering
When enableUserFilters is enabled, DocSearch always sends userSelectedCategories — even as an empty array.
Result:
- The backend will not build its own KB filter.
- An empty selection means “search everything” (no filtering), which is often the intended behavior when letting users control filtering explicitly.
♻️ KB session reset on top-level category change
If the user changes top-level categories, DocSearch drops the current KB session ID. This prevents answers from being influenced by previous KB RAG “memory” when the user deliberately changes scope (often because they weren’t satisfied with the previous result).
AI-Kit v1.1.2 - User-configurable filters
✨ DocSearch: user-configurable filters
DocSearch can now expose filters to end users during search:
- Categories
- Subcategories
- Tags
When filters are enabled, the backend no longer relies on the query builder to assemble the KB filter. Instead, it builds the KB filter from the filter parameters provided by the user and performs retrieval using that constraint.
Why it matters
- More precise searches in larger knowledge bases
- Users can narrow results without rephrasing queries
- Clearer control over what parts of the KB are searched
Notes
- This is an optional feature (enable it in the DocSearch configuration for the block/shortcode/widget as applicable).
- If filters are disabled, behavior remains unchanged (query builder-generated KB filter).
AI-Kit v1.1.1
This release focuses on DocSearch UX consistency, better diagnostics, and more reliable KB regeneration.
✅ DocSearch: showOpenButton everywhere
showOpenButton is now handled consistently across:
- Gutenberg DocSearch block
- DocSearch shortcode
- Elementor DocSearch widget
This makes it easier to embed DocSearch in different builders while keeping the same interaction model (open button vs. always-open search UI).
🪵 Admin: Debug logging toggle
You can now enable/disable AI-Kit debug logging from the admin UI.
Notes:
- Requires WP_DEBUG and WP_DEBUG_LOG enabled in wp-config.php
- Logs are written to: wp-content/debug.log
🧠 KB Admin: embedded updates trigger regeneration
Editing embedded posts now correctly triggers KB source regeneration / “needs review” when that content is published as a Knowledge Base source. This improves accuracy for sites that compose KB pages from reusable/embedded content.
AI-Kit v1.1.0 — WordPress-managed Knowledge Base + Elementor support
Knowledge Base (WordPress-native)
- Manage Knowledge Base sources directly from WP Admin: enable posts/pages as KB sources, generate markdown, and publish KB documents to your AI-Kit backend.
- New Posts list bulk actions to quickly enable/disable KB sources.
KB Section (new block + Elementor widget)
Use “KB Section” to control how specific parts of a page/post are handled during KB generation:
- Exclude sections from the KB
- Split sections into separate KB documents with custom taxonomy/metadata
- Mark sections as overrideable so regenerated markdown won’t overwrite them
Page builder support
- AI Feature and DocSearch now have full Elementor support via dedicated widgets (in addition to the existing Gutenberg blocks + shortcodes).
AI-Kit 1.0.8 – WebCrypto polyfill loading fix
-
Fixed: WebCrypto polyfills now initialize reliably in non-secure contexts (HTTP / insecure origins).
-
Impact: Prevents intermittent runtime errors caused by early access to crypto / crypto.subtle before polyfills are ready.
-
Notes: AI-Kit continues to prefer native WebCrypto when available; this update only improves boot-time robustness.
AI-Kit v1.0.7 — Doc Search modal width tweak
Improved
- Doc Search (Modal view): the modal opens in a wider dialog, making search results and longer snippets easier to read.
Upgrade Notes
- No migrations required. If you cache frontend assets (plugin cache / page cache / CDN), clear cache after updating.
AI-Kit v1.0.6 — Doc Search UI (Pro)
Added
- Doc Search (doc-search): a new frontend UI component to query your Knowledge Base and show the results directly on your site.
- Gutenberg block: add Doc Search to any page/post using the block editor.
- Shortcode: embed with [smartcloud-ai-kit-doc-search] (handy for classic editor, builders, templates).
- JavaScript API: a renderSearchComponent() helper (similar spirit to renderFeature) so you can inject Doc Search into custom themes/markup.
Improved
- Documentation updated (overview, blocks, shortcodes, JavaScript API).
Upgrade Notes
- No data migrations required. If you cache frontend assets aggressively, clear page/cache/CDN after update so the new component scripts load correctly.
AI-Kit v1.0.5 — Classic reCAPTCHA support + Chatbot verification window
Improved
- Added reCAPTCHA Classic (siteverify) support alongside Enterprise (createAssessment), selectable by configuration.
- Chatbot multi-turn conversations now reuse a recent successful verification for a short time window (default 120s) to reduce latency and verification costs.
Added
- Admin setting: “reCAPTCHA chat verification window (seconds)” (0–3600; 0 disables caching).
AI-Kit v1.0.4 — Fixed translations and context
Fixes
- Fixed translation of some AI Feature results into the requested language.
- In certain cases the translation context (admin vs frontend) was missing, causing translations to be routed through the admin context unintentionally.
AI-Kit v1.0.3 - AiFeature language detection / translation context fix
Improved
- Backend calls now display more friendly, on-device-like status messages (e.g. “Generating text…”, “Assistant is thinking…”).
- The chatbot “Assistant is thinking…” message can be overridden from the admin UI.