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.