You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: fern/products/ask-fern/pages/configuration/locations-and-datasources.mdx
+16-5Lines changed: 16 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,17 +20,23 @@ ai-search:
20
20
### Available Locations
21
21
22
22
<ParamField path="docs" type="string">
23
-
Enables Ask Fern on your documentation site. Users will see the AI search interface directly in your docs.
23
+
Documentation site
24
24
</ParamField>
25
25
26
26
<ParamField path="slack" type="string">
27
-
Enables Ask Fern in Slack. Learn more about the [Slack app integration](/ask-fern/features/slack-app).
27
+
Slack workspace
28
28
</ParamField>
29
29
30
30
<ParamField path="discord" type="string">
31
-
Enables Ask Fern in Discord. This allows your community to get AI-powered answers in your Discord server.
31
+
Discordserver
32
32
</ParamField>
33
33
34
+
<Note>
35
+
- `docs`: Enables Ask Fern on your documentation site with the AI search interface
36
+
- `slack`: Enables Ask Fern in Slack. Learn more about the [Slack app integration](/ask-fern/features/slack-app)
37
+
- `discord`: Enables Ask Fern in Discord for community support
38
+
</Note>
39
+
34
40
## Datasources (coming soon)
35
41
36
42
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.
@@ -47,13 +53,18 @@ ai-search:
47
53
### Website Datasources
48
54
49
55
<ParamField path="url" type="string" required>
50
-
The URL of the website to index. Ask Fern will crawl and index the content from this URL.
56
+
Website URL to index
51
57
</ParamField>
52
58
53
59
<ParamField path="title" type="string">
54
-
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.
60
+
Display name for the datasource
55
61
</ParamField>
56
62
63
+
<Note>
64
+
- `url`: The website URL that Ask Fern will crawl and index
65
+
- `title`: Optional display name shown in citations to help users identify the content source
66
+
</Note>
67
+
57
68
## Preview Environments
58
69
59
70
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.
0 commit comments