I am working on implementing a voice AI bot using VAPI that can assist users with questions about pizza based on a predefined menu. My goal is to create a system that accepts web calls - NO PHONE CALLS and provides responses to users in a friendly and informative manner. However, I am currently facing some challenges with the implementation.
In my code, I initialize the VAPI with my API key and configure the assistant with a welcoming message and a detailed context that includes the pizza menu and other offerings. Despite my efforts, I encounter an error when trying to start the conversation, which states: "Failed to start conversation." This error prevents the assistant from functioning as intended.
I have structured my code to handle the conversation using asynchronous programming, allowing it to run continuously until interrupted. However, I am unsure why the conversation fails to start, and I would appreciate any guidance or troubleshooting tips to resolve this issue. Also,**I'm looking for Python code that can accept a web call and provide responses. I'm feeling a bit lost with the implementation details. If there is a simple python code which can help me test this functionality using existing assistant id/api key
**