[Python] How to Send File ID to Vapi Assistant from React Frontend?

Discussão em 'Python' iniciado por Stack, Março 10, 2025.

  1. Stack

    Stack Membro Participativo

    I am working on a project where I have implemented the following:

    A FastAPI backend to handle file uploads, which returns a file_id after successful upload.

    A Vapi assistant to take the file as knowledge basses

    A React frontend that interacts with the assistant.

    Issue:

    I am able to successfully upload the file via the React frontend and the FastAPI backend returns a file _id. However, I am stuck on how to send this file_id from my React frontend to the Vapi assistant.

    I have checked the documentation but not able to find a solution

    Continue reading...

Compartilhe esta Página