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
152 changes: 4 additions & 148 deletions fern/apis/fai/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -1104,78 +1104,6 @@
]
}
},
"/discord/install": {
"post": {
"tags": [
"Discord"
],
"summary": "Create Discord Integration",
"operationId": "create_discord_integration",
"parameters": [
{
"name": "domain",
"in": "query",
"required": true,
"schema": {
"type": "string",
"title": "Domain"
}
}
],
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/DiscordIntegrationResponse"
}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
},
"x-fern-audiences": [
"customers"
],
"security": [
{
"bearerAuth": []
}
]
}
},
"/discord/install/callback": {
"get": {
"tags": [
"Discord"
],
"summary": "Handle Discord Install Callback",
"operationId": "handle_discord_install_callback",
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {}
}
}
}
},
"x-fern-audiences": [
"internal"
]
}
},
"/document/{domain}/create": {
"post": {
"tags": [
Expand Down Expand Up @@ -3169,52 +3097,6 @@
]
}
},
"/settings/ask-ai/discord": {
"get": {
"tags": [
"Settings"
],
"summary": "Get Discord Settings",
"description": "Get settings for a domain and organization.",
"operationId": "get_discord_settings",
"parameters": [
{
"name": "domain",
"in": "query",
"required": true,
"schema": {
"type": "string",
"title": "Domain"
}
}
],
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/GetSettingsResponse"
}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
},
"x-fern-audiences": [
"internal"
]
}
},
"/settings/ask-ai/enable": {
"post": {
"tags": [
Expand Down Expand Up @@ -3266,7 +3148,7 @@
"Settings"
],
"summary": "Toggle Ask Ai",
"description": "Toggle Ask AI setting and return job_id for tracking.\n\nArgs:\n domain: Domain to toggle Ask AI for\n org_name: Organization name\n preview: Whether this is a preview deployment\n locations: Optional list of locations to enable. Valid values: docs, slack, discord",
"description": "Toggle Ask AI setting and return job_id for tracking.\n\nArgs:\n domain: Domain to toggle Ask AI for\n org_name: Organization name\n preview: Whether this is a preview deployment\n locations: Optional list of locations to enable. Valid values: docs, slack",
"operationId": "toggle_ask_ai",
"parameters": [
{
Expand Down Expand Up @@ -3308,8 +3190,7 @@
"items": {
"enum": [
"docs",
"slack",
"discord"
"slack"
],
"type": "string"
}
Expand Down Expand Up @@ -5480,19 +5361,6 @@
],
"title": "DeleteWebsiteResponse"
},
"DiscordIntegrationResponse": {
"properties": {
"integration_url": {
"type": "string",
"title": "Integration Url"
}
},
"type": "object",
"required": [
"integration_url"
],
"title": "DiscordIntegrationResponse"
},
"Document": {
"properties": {
"document_id": {
Expand Down Expand Up @@ -5623,7 +5491,7 @@
},
"type": "array",
"title": "Locations",
"description": "List of locations to enable (docs, slack, discord)"
"description": "List of locations to enable (docs, slack)"
},
"preview": {
"type": "boolean",
Expand Down Expand Up @@ -5996,7 +5864,7 @@
"ask_ai_enabled": {
"type": "boolean",
"title": "Ask Ai Enabled",
"description": "Whether Ask AI is enabled (requires one of docs, slack, or discord to be enabled as well as the content to be indexed)"
"description": "Whether Ask AI is enabled (requires one of docs or slack to be enabled as well as the content to be indexed)"
},
"job_id": {
"anyOf": [
Expand Down Expand Up @@ -6034,18 +5902,6 @@
"title": "Slack Enabled",
"description": "Whether Ask AI is enabled for slack"
},
"discord_enabled": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Discord Enabled",
"description": "Whether Ask AI is enabled for discord"
},
"decompose_queries": {
"anyOf": [
{
Expand Down
4 changes: 4 additions & 0 deletions fern/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -812,6 +812,10 @@ redirects:
- source: /learn/api/api-reference/:slug*
destination: /learn/cli-api-reference/cli-reference/overview

# Discord bot redirect (removed)
- source: /learn/docs/ai-features/ask-fern/discord-bot
destination: /learn/docs/ai-features/ask-fern/overview

# Ask Fern redirects (additional)
- source: /learn/ask-fern/features/custom-fa-qs
destination: /learn/docs/ai-features/ask-fern/overview
Expand Down
5 changes: 0 additions & 5 deletions fern/products/docs/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -193,9 +193,6 @@ navigation:
- page: Slack app
path: ./pages/ask-fern/slack-app.mdx
slug: slack-app
- page: Discord bot
path: ./pages/ask-fern/discord-bot.mdx
slug: discord-bot
- page: Custom guidance
path: ./pages/ask-fern/guidance.mdx
slug: guidance
Expand Down Expand Up @@ -431,8 +428,6 @@ navigation:
hidden: true
- conversation:
hidden: true
- discord:
hidden: true
- document:
hidden: true
- feedback:
Expand Down
5 changes: 2 additions & 3 deletions fern/products/docs/pages/ai/overview.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,11 @@ Your documentation site comes with automatic optimizations for AI tools, plus fe

## Find answers

Users can chat with Ask Fern to get instant answers from your documentation. It's available as an embedded chat widget, via the [API](/learn/docs/ai-features/ask-fern/api-reference/overview) for custom integrations, and as a [Slack app](/learn/docs/ai-features/ask-fern/slack-app) or [Discord bot](/learn/docs/ai-features/ask-fern/discord-bot) for your community workspace. Ask Fern understands context and provides citations so users can verify information and explore further.
Users can chat with Ask Fern to get instant answers from your documentation. It's available as an embedded chat widget, via the [API](/learn/docs/ai-features/ask-fern/api-reference/overview) for custom integrations, and as a [Slack app](/learn/docs/ai-features/ask-fern/slack-app) for your community workspace. Ask Fern understands context and provides citations so users can verify information and explore further.

<CardGroup cols={3}>
<CardGroup cols={2}>
<Card title="Ask Fern overview" icon="sparkles" href="/learn/docs/ai-features/ask-fern/overview" />
<Card title="Ask Fern Slack app" icon="fa-brands fa-slack" href="/learn/docs/ai-features/ask-fern/slack-app" />
<Card title="Ask Fern Discord bot" icon="fa-brands fa-discord" href="/learn/docs/ai-features/ask-fern/discord-bot" />
</CardGroup>


Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
122 changes: 0 additions & 122 deletions fern/products/docs/pages/ask-fern/discord-bot.mdx

This file was deleted.

4 changes: 0 additions & 4 deletions fern/products/docs/pages/ask-fern/slack-app.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@ description: Enable your customers to get instant answers to product questions d

<Markdown src="/snippets/agent-directive.mdx"/>

<Info>
Ask Fern is also available for Discord. See the [Discord bot documentation](/learn/docs/ai-features/ask-fern/discord-bot) for setup instructions.
</Info>

The Ask Fern Slack app allows customers to ask questions about your products directly in Slack channels and receive AI-generated answers from your documentation database.

Fern stores all questions and answers from Slack interactions for [analytics purposes](/learn/docs/ai-features/ask-fern/overview#analytics).
Expand Down
4 changes: 2 additions & 2 deletions fern/products/docs/pages/ask-fern/what-is-ask-fern.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ Ask Fern is Fern's AI Search feature, powered by **Retrieval Augmented Generatio
Enabling Ask Fern triggers an automatic reindex of your content. This typically takes a few minutes, though sites with extensive custom components may take longer. Once this process is finished, the Ask Fern side panel will appear on your site.
</Info>
</Step>
<Step title="Connect Slack or Discord">
Connect Ask Fern to [Slack](/learn/docs/ai-features/ask-fern/slack-app) or [Discord](/learn/docs/ai-features/ask-fern/discord-bot) so your users can ask questions directly from chat.
<Step title="Connect Slack">
Connect Ask Fern to [Slack](/learn/docs/ai-features/ask-fern/slack-app) so your users can ask questions directly from chat.
</Step>
<Step title="Customize your configuration (optional)">
Finetune Ask Fern's behavior:
Expand Down
Loading
Loading