I am new in vapi.ai
# general-english
s
I am new in vapi.ai i am strugiing create assintance using text and file knowlegebase, when i try to create knowlegbase - there is no parameter to share file id or text for prompt or text infomation can anyone push me from here
k
Upload files via the dashboard or send text using the API, then link them to your assistant in the “Files” section before publishing.

https://youtu.be/3w7oTKwHVIs?si=tXaNl9Sk1CibJrcS▾

s
const updateQuery = { "function": { "name": agentData.agent_name, }, "knowledgeBases": [ { "provider": "google", "name": "product-kb", "description": agentData.agent_prompt, "fileIds": fileIds } ] } Create a tool like this, - file also proper passed get success while create , - and this tool assing to assitance *- but still file data is not used as knowledge. * file status is also done.
k
Make sure the file format and size are correct, reassign and publish the file to the assistant, update the system prompt to reference the knowledge base, and consider using a query tool for retrieval. https://docs.vapi.ai/knowledge-base
2 Views