Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion fern/products/docs/pages/ask-fern/what-is-ask-fern.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ Ask Fern can [mask structured personally identifiable information](/learn/docs/c

## Privacy and data handling

Each request sends the conversation, the documentation passages retrieved for the question, the site domain, and any system prompt you configure to the model. Retrieval respects the viewer's [roles](/learn/docs/authentication/features/rbac), so answers draw only from content that viewer can read. Fern stores end-user queries and answers, including questions asked in Slack, to power analytics, and retains them indefinitely unless you set a [query log retention](#features) window. Fern doesn't use your documentation content or your end users' queries to train AI models.
Each request sends the conversation, the documentation passages retrieved for the question, the site domain, and any system prompt you configure to the model. Retrieval respects the viewer's [roles](/learn/docs/authentication/features/rbac), so answers draw only from content that viewer can read. Fern stores end-user queries and answers, including questions asked in Slack, to power analytics, and retains them indefinitely unless you set a [query log retention](#features) window. Fern doesn't use your documentation content or your end users' queries to train AI models. Every answer carries an AI disclaimer, and you can [replace the default wording](/learn/docs/configuration/site-level-settings#ask-fern-configuration) with `ai-search.disclaimer`.

## Disable Ask Fern

Expand Down
12 changes: 12 additions & 0 deletions fern/products/docs/pages/changelog/2026-09-11.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
## Custom Ask Fern disclaimer

<ChangelogTags>ai, docs.yml</ChangelogTags>

You can now replace the default Ask Fern disclaimer ("Responses are generated using AI and may contain mistakes.") with your own wording. Set `ai-search.disclaimer` in `docs.yml` and the text appears beneath answers in the chat panel, standalone modal, mobile drawer, and search widget, so the disclaimer can match your legal or privacy requirements.

```yaml docs.yml
ai-search:
disclaimer: Answers are generated by a third-party AI model and may be inaccurate.
```

<Button intent="none" outlined rightIcon="arrow-right" href="/learn/docs/configuration/site-level-settings#ask-fern-configuration">Read the docs</Button>
5 changes: 5 additions & 0 deletions fern/products/docs/pages/navigation/site-level-settings.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -1220,6 +1220,7 @@ Specify [Ask Fern](/learn/docs/ai-features/ask-fern/overview) to control where i
```yaml docs.yml
ai-search:
mask-pii: true
disclaimer: Answers are generated by a third-party AI model and may be inaccurate. Verify against the reference docs.
datasources:
- url: https://example.com/additional-docs
title: Additional documentation
Expand Down Expand Up @@ -1254,6 +1255,10 @@ ai-search:
See Anthropic's [prompting guide](https://docs.anthropic.com/en/docs/build-with-claude/prompt-engineering/overview) for ideas and examples.
</ParamField>

<ParamField path="ai-search.disclaimer" type="string" required={false} toc={true}>
Custom text for the disclaimer shown beneath Ask Fern answers in the chat panel, standalone modal, mobile drawer, and search widget. Replaces the default text, "Responses are generated using AI and may contain mistakes." Use it to match your legal or privacy requirements, for example to name the AI provider. A blank value shows the default text.
</ParamField>

## Agents configuration

Configure directives and custom files for [AI agent consumption](/learn/docs/ai-features/llms-txt). By default, Fern auto-generates `llms.txt` and prepends a directive to every page served to AI agents. Use the `agents` key to customize this behavior:
Expand Down
Loading