Skip to content

Commit bf989b8

Browse files
authored
added a step in kb to prompt the asssitant before publishing (#265)
1 parent 3b57a93 commit bf989b8

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

fern/knowledge-base/knowledge-base.mdx

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,16 @@ There are two main approaches to creating a Knowledge Base in Vapi:
6868

6969
#### **Step 3: Publish the Assistant**
7070

71-
1. Review your assistant configuration to ensure all settings are correct
72-
2. Click the "Publish" button to make your changes live
73-
3. This automatically creates a default knowledge base (using the query tool) with the selected files for the assistant
71+
1. Instruct your assistant to use the knowledge base when relevant by adding appropriate prompts in your assistant's configuration. This helps ensure the assistant knows when to reference the knowledge base versus using its general knowledge.
72+
73+
For example, if you have a knowledge base about your company's products, you might add this prompt:
74+
```
75+
When users ask about our products, services, or company information, use the knowledge base to provide accurate details.
76+
```
77+
78+
2. Review your assistant configuration to ensure all settings are correct
79+
3. Click the "Publish" button to make your changes live
80+
4. This automatically creates a default knowledge base (using the query tool) with the selected files for the assistant
7481

7582
<Note>
7683
When you publish an assistant with selected files, Vapi automatically creates

0 commit comments

Comments
 (0)