-
Notifications
You must be signed in to change notification settings - Fork 207
Document the assistant #812
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 21 commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
2e02572
Documentation edits made through Mintlify web editor
ethanpalm d7806a1
Documentation edits made through Mintlify web editor
ethanpalm 08771d9
Documentation edits made through Mintlify web editor
ethanpalm 45f0cf6
Documentation edits made through Mintlify web editor
ethanpalm 81a21d4
Documentation edits made through Mintlify web editor
ethanpalm 45c06f9
Documentation edits made through Mintlify web editor
ethanpalm 55314d3
Documentation edits made through Mintlify web editor
ethanpalm becca77
Documentation edits made through Mintlify web editor
ethanpalm d4b0aff
Documentation edits made through Mintlify web editor
ethanpalm afb90f6
Documentation edits made through Mintlify web editor
ethanpalm 42d12dd
Merge branch 'main' into assistant-docs
ethanpalm fbc2ffd
Documentation edits made through Mintlify web editor
ethanpalm 8c565da
Documentation edits made through Mintlify web editor
ethanpalm 1009947
fix parsing error
ethanpalm 1579aad
update description
ethanpalm 6c65b96
copyedit about section
ethanpalm 524bce3
update using the assistant section
ethanpalm a1fa555
update ai ingestion section
ethanpalm 9cf59e0
export/analysis section
ethanpalm bf217ac
fix image
ethanpalm 49d71a8
Merge branch 'main' into assistant-docs
ethanpalm 5f7643b
add reviewer feedback
ethanpalm 7a2c658
clean up list
ethanpalm e530c5b
make cards for ai ingestion section
ethanpalm 9c7e341
remove columns
ethanpalm 797ddb8
make sample prompts a card
ethanpalm 33e1450
remove icons
ethanpalm ba5eb28
tidy formatting
ethanpalm b44c255
higher res images
ethanpalm File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,110 @@ | ||
| --- | ||
| title: "AI Assistant" | ||
| description: "Help users succeed with your product and find answers faster" | ||
| icon: "bot" | ||
| --- | ||
|
|
||
| <Info> | ||
| The AI assistant is available on [Pro, Growth, and Enterprise plans](https://mintlify.com/pricing?ref=assistant). Please{" "} | ||
| <a href="mailto:[email protected]">contact sales</a> for more information. | ||
| </Info> | ||
|
|
||
| ## About the assistant | ||
|
|
||
| The AI assistant answers questions about your documentation through natural language queries. When users ask a question, the assistant searches your content, cites relevant sources, and provides contextual answers sourced from your documentation. | ||
|
|
||
| The assistant uses agentic RAG (retrieval-augmented generation) with tool calling and runs on Claude Sonnet 4 by default. | ||
|
|
||
| You can monitor user interactions and export query data from your dashboard to gain insights into user needs and identify content gaps. | ||
|
|
||
| The assistant is automatically enabled for accounts on Pro, Growth, and Enterprise plans. See [Pricing](https://mintlify.com/pricing) for details. | ||
|
|
||
| ## Using the assistant | ||
|
|
||
| Users can access the assistant in two ways: | ||
|
|
||
| - **Keyboard shortcut**: <kbd>Command</kbd> + <kbd>I</kbd> (<kbd>Ctrl</kbd> + <kbd>I</kbd> on Windows) | ||
| - **Assistant button** next to the search bar | ||
| <img | ||
| src="/images/assistant/assistant-button-light.png" | ||
| className="block dark:hidden rounded-2xl border border-gray-100 shadow-lg" | ||
| style={{ | ||
| width: '268px', | ||
| height: 'auto', | ||
| }} | ||
| alt="Search bar and assistant button in light mode." | ||
| /> | ||
| <img | ||
| src="/images/assistant/assistant-button-dark.png" | ||
| className="hidden dark:block rounded-2xl border border-white/10 shadow-lg" | ||
| style={{ | ||
| width: '268px', | ||
| height: 'auto', | ||
| }} | ||
| alt="Search bar and assistant button in dark mode." | ||
| /> | ||
|
|
||
| Both methods open a chat panel on the right side of your docs. Users can ask any question and the assistant will search your documentation for an answer. If no relevant information is found, the assistant will respond that it cannot answer the question. | ||
|
|
||
| ## Making content AI ingestible | ||
|
|
||
| Structure your documentation to help the assistant provide accurate, relevant answers. Clear organization and comprehensive context benefit both human readers and AI understanding. | ||
|
|
||
| ### Structure and organization | ||
|
|
||
| - Write descriptive headings for sections. | ||
| - Create a logical information hierarchy with proper nesting (H1 \> H2 \> H3). | ||
| - Break up long blocks of text into shorter paragraphs. | ||
| - Use consistent formatting across your docs. | ||
| - Use semantic markup. | ||
| - Include comprehensive metadata in page frontmatter. | ||
ethanpalm marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| ### Context | ||
|
|
||
| - Define specific terms and acronyms when first introduced. | ||
| - Provide sufficient conceptual content about features and procedures. | ||
| - Include examples and use cases. | ||
| - Cross-reference related topics. | ||
| - Add [hidden pages](/guides/hidden-pages) with additional context that users don't need, but the assistant can reference. | ||
|
|
||
| ## Exporting and analyzing queries | ||
|
|
||
| Review and export queries from your dashboard to understand how people interact with your documentation and identify improvement opportunities. Some ways that analyzing queries can help you improve your documentation: | ||
|
|
||
| - Identify content gaps where frequent queries receive insufficient answers. | ||
| - Discover user behavior patterns and common information needs from themes and patterns in queries. | ||
| - Prioritize high-traffic pages for accuracy and quality improvements. | ||
|
|
||
| You can explore queries from your [dashboard](https://dashboard.mintlify.com/products/assistant), but to get more powerful insights we recommend exporting a `CSV` file of your queries, responses, and sources to analyze with your preferred AI tool. | ||
|
|
||
| 1. Navigate to the [assistant page](https://dashboard.mintlify.com/products/assistant) in your dashboard. | ||
| 2. Select **Export to CSV**. | ||
| 3. Analyze the exported data using your preferred tool. | ||
|
|
||
| Sample analysis prompts: | ||
|
|
||
| - Summarize the most common themes of the queries. | ||
| - List any queries that had no sources cited. | ||
| - Find patterns in unsuccessful interactions. | ||
|
|
||
| ## Changing the model | ||
|
|
||
| The assistant uses Claude Sonnet 4 by default. We have found that this model performs the best when searching and answering questions. | ||
|
|
||
| If you want to select another model: | ||
|
|
||
| 1. Navigate to the [assistant page](https://dashboard.mintlify.com/products/assistant) in your dashboard. | ||
| 2. Select **Manage**. | ||
| 3. Choose your preferred model. | ||
| 4. Select **Save**. | ||
|
|
||
| Available models: | ||
|
|
||
| - Claude 4 Sonnet (default) | ||
| - Claude 3.7 Sonnet | ||
| - GPT 4.1 | ||
| - GPT-4o | ||
| - o3-mini | ||
| - Gemini 2.5 Pro (Preview) | ||
| - Llama 4 Maverick | ||
| - Grok 3 | ||
ethanpalm marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.