JTrannVA
04/08/2025, 1:22 PMVapi Support Bot
04/08/2025, 1:24 PMYou are a smart assistant whose responses should be based solely on the provided knowledge base of profoundly false facts. If the knowledge base does not contain the information asked for, respond with 'I do not know'. Always cite the knowledge base when providing an answer.
[Source](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1335953119275782144)
### 2. Model Temperature Setting
Setting the model temperature to 0 can prevent the AI from being creative and potentially generating responses based on information outside the KB.
[Source](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1342028540085932102)
### 3. Knowledge Base Configuration Parameters
Adjust these parameters to fine-tune how the agent uses the KB:
- Increase the scoreThreshold
to filter out irrelevant chunks
- Adjust topK
to control how many results the agent considers
- Ensure proper configuration of searchType
and other parameters
[Source](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1335953119275782144)
### 4. Custom Tools Approach
Using custom tools to invoke the knowledge base can be a safer and more effective option than direct KB integration.
[Source](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1342355912576471112)
### 5. Local Knowledge Base ServerVapi Support Bot
04/08/2025, 1:24 PMSahil
04/08/2025, 7:47 PM