broad-salmonB

Query tool using Google Knowledge Base

Hey VAPI team,
I’m in the process of migrating our knowledge base from Trieve and testing the Google Knowledge Base option.

I’ve set up the tool and attached it to my assistant, but I’m noticing the AI is taking a bit longer (around 2 seconds) to respond back.
Right now, I have only added 2 short txt files with some instructions.

Do you have any recommendations to make it faster and better?
Here’s the tool structure I’m using:

{
    "type": "query",
    "async": false,
    "function": {
        "name": "knowledge-search"
    },
    "knowledgeBases": [
        {
            "name": "assistant-kb",
            "model": "gemini-2.5-flash-lite",
            "fileIds": [
                "bf40ee4a-87f7-44f9-a2f1-102101c9fa49",
                "cad40fc4-a12e-4d18-bd01-4d356ade0e76"
            ],
            "provider": "google",
            "description": "Contains comprehensive information about the company, its products, services, policies, and procedures. Use this knowledge base to provide accurate and relevant information to customers."
        }
    ]
}

OrgId: 07e7bc0b-76ea-4a0f-97c8-9157ff11d5d8
AssistantId: 9ac31c91-3d6f-4963-9517-8756834c94ce
CallId: db9aae4c-eacd-4db2-ada9-aad297228bb8
Tool duration: 1.2sec
image.png
Was this page helpful?