Skip to content

Update from code changes: document assistant widget language and version filter - #6789

Merged
dks333 merged 2 commits into
mainfrom
mintlify/5e6ae469
Jul 28, 2026
Merged

Update from code changes: document assistant widget language and version filter#6789
dks333 merged 2 commits into
mainfrom
mintlify/5e6ae469

Conversation

@mintlify

@mintlify mintlify Bot commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

Summary

The assistant widget now accepts an optional filter on init() and update() to scope retrieval by docs language and version. Fields are optional and can be cleared with null. Documents the new option, adds an AssistantFilter reference, and updates the AssistantConfig and AssistantUpdate tables. Mirrored across English, Spanish, French, and Chinese.

Triggering PR: https://github.com/mintlify/mint/pull/9576

Changes

  • Added "Scope retrieval by language or version" section with init() and update() examples
  • Added filter row to the AssistantConfig and AssistantUpdate tables
  • Added new AssistantFilter reference (language, version)
  • Applied the same updates to es/, fr/, and zh/ widget pages

Note

Low Risk
Documentation-only changes to assistant widget MDX; no runtime or API implementation in this repo.

Overview
Documents the assistant embed filter option so retrieval can be scoped to docs language and version when content is split that way.

Adds a “Scope retrieval by language or version” section with init() / update() examples, null semantics to clear one field or all filters, and a new AssistantFilter reference. AssistantConfig and AssistantUpdate tables now include filter. The same updates are mirrored in es/, fr/, and zh/ widget docs (localized section anchors where used).

Reviewed by Cursor Bugbot for commit 230a282. Bugbot is set up for automated code reviews on this repo. Configure here.

@mintlify

mintlify Bot commented Jul 28, 2026

Copy link
Copy Markdown
Contributor Author

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
mintlify 🟢 Ready View Preview Jul 28, 2026, 8:17 PM

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
tomee 🟢 Ready View Preview Jul 28, 2026, 8:18 PM

💡 Tip: Enable Workflows to automatically generate PRs for you.

@dks333
dks333 merged commit fa84011 into main Jul 28, 2026
6 checks passed
@dks333
dks333 deleted the mintlify/5e6ae469 branch July 28, 2026 20:54
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.

2 participants