Skip to content

Commit a40e45a

Browse files
committed
update some verbiage
1 parent 795019a commit a40e45a

File tree

1 file changed

+3
-25
lines changed

1 file changed

+3
-25
lines changed

fern/products/ask-fern/pages/configuration/locations-and-datasources.mdx

Lines changed: 3 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,7 @@ title: Locations and Datasources
33
subtitle: Configure where Ask Fern is available and what content it can access.
44
---
55

6-
<Markdown src="/snippets/pro-plan.mdx" />
7-
8-
Ask Fern can be configured to appear in multiple locations and pull content from various datasources. This allows you to provide AI-powered assistance wherever your users need it and ensure the AI has access to all relevant information.
6+
Ask Fern can be configured to appear in multiple locations and pull content from various datasources. This allows you to provide AI-powered assistance wherever your users need it and ensure access to relevant information.
97

108
## Locations
119

@@ -33,7 +31,7 @@ ai-search:
3331
Enables Ask Fern in Discord. This allows your community to get AI-powered answers in your Discord server.
3432
</ParamField>
3533
36-
## Datasources
34+
## Datasources (coming soon)
3735
3836
The `datasources` field allows you to specify additional content sources that Ask Fern should index and search. This is useful when you want to include content from external websites or documentation that isn't part of your main docs.
3937

@@ -56,29 +54,9 @@ ai-search:
5654
An optional display name for this datasource. This helps users understand where the information is coming from when Ask Fern cites content from this source.
5755
</ParamField>
5856

59-
## Complete Example
60-
61-
Here's a complete example showing how to configure both locations and datasources:
62-
63-
```yaml docs.yml
64-
ai-search:
65-
system-prompt: |
66-
You are a helpful AI assistant for our documentation.
67-
Provide clear, accurate answers based on the available documentation.
68-
model: claude-3.7
69-
location:
70-
- docs
71-
- slack
72-
datasources:
73-
- url: https://help.example.com
74-
title: Help Center
75-
- url: https://blog.example.com
76-
title: Engineering Blog
77-
```
78-
7957
## Preview Environments
8058

81-
When using `fern generate --preview`, the `location` configuration determines whether Ask Fern will be enabled in your preview environment. If you specify `location: [docs]`, Ask Fern will be available in your preview deployments, allowing you to test the AI search functionality before publishing to production.
59+
Setting `location: [docs]` enables Ask Fern on preview deployments generated with `fern generate --docs --preview`, allowing you to test the AI search functionality before publishing to production.
8260

8361
<Note>
8462
Preview environments use separate namespaces to ensure that test data doesn't interfere with your production Ask Fern instance.

0 commit comments

Comments
 (0)