Skip to content

Commit d9c549b

Browse files
authored
(ask fern) Document collaborative indexing and respond_to auto command (#1075)
1 parent d659225 commit d9c549b

File tree

1 file changed

+22
-7
lines changed

1 file changed

+22
-7
lines changed

fern/products/ask-fern/pages/features/slack-app.mdx

Lines changed: 22 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,6 @@ To give customers access to the Ask Fern bot in their own Slack workspaces:
4040
1. Forward this link to your customer so they can install the Ask Fern app to their workspace.
4141
1. Once the customer has installed the Ask Fern app, you must add the bot to your customer Slack channel to give it access.
4242

43-
44-
4543
Once added, customers will see that `@Ask Fern was added to the channel`. They can start asking questions immediately.
4644
</Accordion>
4745
</AccordionGroup>
@@ -57,12 +55,12 @@ Use the `/configure` slash command in any channel to adjust the settings:
5755

5856
| Command | Description | Example |
5957
|---------|-------------|---------|
60-
| **respond_to** | Controls whether the Ask Fern bot responds to all messages (`all`) or only when directly mentioned with `@Ask Fern` (`mentions_only`) | `/configure respond_to all` |
61-
| **roles** | Specifies which RBAC roles should be used to filter Ask Fern responses (if you have [role-based access control](/docs/authentication/rbac) configured) | `/configure roles developer, admin` |
58+
| **respond_to** | Controls whether the Ask Fern bot responds to all messages (`all`), reponds only when directly mentioned with `@Ask Fern` (`mentions_only`), or determines when to respond to messages depending on context (`auto`). Set to `auto` by default. | `/configure respond_to all` |
59+
| **roles** | Specifies which RBAC roles (comma-separated) should be used to filter Ask Fern responses (if you have [role-based access control](/docs/authentication/rbac) configured) | `/configure roles developer,admin` |
6260
| **show** | Show the current settings | `/configure show` |
6361
| **help** | Get help with Ask Fern slash commands | `/configure help` |
6462

65-
<Frame>
63+
<Frame caption="After configuring respond_to all, bot responds to messages even when not directly mentioned">
6664
<img src="/products//ask-fern/pages/assets/respond-all-slack.png" alt="Respond all setting in Slack" />
6765
</Frame>
6866

@@ -82,6 +80,22 @@ You can rename the bot to match your brand (example: "YourCompanyName Support"):
8280
</Frame>
8381

8482
Now customers will see `@YourCompanyName Support was added to the channel` instead of the default `@Ask Fern` name.
83+
</Accordion>
84+
<Accordion title="Improve responses with indexing">
85+
86+
You can improve the Slack bot's knowledge base by teaching it from real customer interactions. When the bot provides answers in Slack, you can refine those responses and save them for future reference.
87+
88+
How it works:
89+
90+
1. **A user asks a question** - The bot responds in the channel
91+
2. **Review the response** - If the answer needs improvement, reply in the thread to the bot's message
92+
3. **Provide corrections** - Add missing context, correct inaccuracies, or clarify the response
93+
4. **Request indexing** - Ask the bot to index the improved response (e.g., "Index this response" or "Please save this")
94+
5. **Iterate if needed** - The bot will generate an improved answer. Continue refining until you're satisfied
95+
6. **Confirm indexing** - When the response looks good, tell the bot to save it. The bot will confirm the Q&A pair has been indexed
96+
97+
Once indexed, Ask Fern will use this curated question-answer pair to inform future responses to similar questions, giving more accurate answers over time.
98+
8599
</Accordion>
86100
</AccordionGroup>
87101

@@ -99,7 +113,7 @@ sequenceDiagram
99113
participant F as Fern Servers
100114
participant V as Documentation Database
101115
participant A as Ask Fern
102-
116+
103117
U->>S: Ask question to @Ask Fern
104118
S->>F: Webhook fires to Fern servers
105119
F->>F: Convert query to vector
@@ -111,4 +125,5 @@ sequenceDiagram
111125
A->>U: Return answer in Slack thread
112126
F->>F: Store question and answer for analytics
113127
```
114-
</Accordion>
128+
</Accordion>
129+

0 commit comments

Comments
 (0)