I'm wondering if we can use knowledgeBase payload with dynamic fileId in transient assistant instead of using knowledgeBaseId ?
c
Chiranjeet Mishra
02/12/2025, 11:57 AM
You can use it.
m
mehdi
02/12/2025, 4:27 PM
By any chance, do you know what should payload for model.knowledgeBase in transient assistant look like ?
Coz when i change the fileIds in transient assistant , the assistant kb only works with the fileIds which the knowledge base was created initially.
mehdi
02/12/2025, 4:43 PM
Should we create a new kb eachtime or can we reuse one with replacing fileIds?
c
Chiranjeet Mishra
02/13/2025, 2:30 PM
You can create a knowledge base on Trieve and use their API to dynamically add or remove chunks as needed. Additionally, you can link it to Vapi using the provider ID