Objection treatment
# support
j
Let’s say I have a bot that has to do sales. And I want to put multiple different customer answers that are frequent and the comeback to them. So far I’ve been putting everything in the prompt, but the more I add the more it does whatever it wants and answers to whatever it wants. Is the knowledge base gonna be better at dealing with objections if I give it a pdf file with all the possible objections and the come backs for it?
v
Yes, a knowledge base would be better for handling objections than putting everything in the prompt. According to user experiences, prompts become unpredictable as they grow larger: "the more I add the more it does whatever it wants" [Discord](https://discord.com/channels/1211482211119796234/1334889552002809928). To implement this:
Copy code
bash
# Create knowledge base with your PDF file
curl -X POST "https://api.vapi.ai/knowledge-base" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -F "file=@objections.pdf"
Then attach it to your assistant using the API as described in the [Vapi documentation](https://docs.vapi.ai/knowledge-base). Sources: - [Discord conversation](https://discord.com/channels/1211482211119796234/1334889552002809928) - [Vapi Knowledge Base documentation](https://docs.vapi.ai/knowledge-base)
k
Yes, uploading a PDF with objections and comebacks to vapi KB is better than putting everything in the prompt, so ensures more accurate, consistent, and context-aware responses..
2 Views