Unable to integrate Squads and Blocks effectively
# support
d
I created a Squad consisting of 4 assistants. Among them, 3 assistants use the provider OpenAI, and 1 assistant uses the provider VAPI Block. When switching between the 3 assistants using OpenAI as the provider, everything runs smoothly, and each assistant responds before I continue the conversation. However, with the assistant using VAPI Block as the provider (Assistant A), there is no response at all, and I cannot communicate with that assistant. It always repeats the same message, "Switched to Assistant A," but in reality, there is no actual response.
v
@ducnt.ts24 I'm sorry to hear that you're experiencing issues with Assistant A using the VAPI Block provider. It sounds like there might be a problem with the configuration or connectivity of that particular assistant. To assist you better, I would need to check the specific details of the setup for Assistant A. Could you please provide more information about how Assistant A is configured? Additionally, it would be helpful to know if there are any error messages or logs that you can share. This information will enable me to give you more accurate advice on how to resolve the issue. In the meantime, please ensure that Assistant A is properly configured with the correct VAPI Block settings and that it is active and ready to receive requests. If the problem persists, please ask support for more info on this.
You can continue this conversation by mentioning me in the message.
d
@Vapi @User Here is my configuration: - Squads: e304e825-79dd-4e89-9d31-15039c7e2906 - The First Assistant: ed27a35e-6c55-4fd8-bbf7-d9ea5f4b624b - Assistant using Block: 91c764e4-0ffc-48f2-900c-d8822dcbf600 In the Squads, I have a simple setup for the First Assistant to transfer to my Assistant A. The conditions for transferring to Assistant A are defined in the prompt of the First Assistant (using the OpenAI GPT-4o model). Message: お客様のご要望をバーチャル業務担当部門に転送しますので、少々お待ちください。 (We will transfer your request to the Virtual Business Support Department. Please wait a moment.) Description: お客様の一般的な要求を対応するために、バーチャル業務担当部門のマユアシスタントに転送します。バーチャル業務担当部門のマユアシスタントはこの分野の専門家です。 (To handle general customer requests, we will transfer you to Mayu, the assistant of the Virtual Business Support Department. Mayu is an expert in this field.) First Assistant System Prompt: [Task] 以下のステップに従って対応してください: 1. お客様に温かく挨拶する。 2. 本日どのようなサポートが必要かを尋ねる。 お客様の回答に基づき、以下のいずれかを判断する: a) 注文状況の確認 - 注文確認部門のキャメロンに転送する。 b) 商品の注文受付 - 注文受付部門のリサに転送する。 お客様に、適切な部門の担当者に転送する旨を伝える。 丁寧に会話を締めくくる。 (English: [Task] Please respond according to the following steps: 1. Warmly greet the customer. 2. Ask what kind of support they need today. Based on the customer's response, determine one of the following actions: a) Order Status Inquiry - Transfer to Cameron in the Order Confirmation Department. b) Product Order Placement - Transfer to Lisa in the Order Reception Department. Inform the customer that their request is being transferred to the appropriate department representative. Conclude the conversation politely. )
v
@ducnt.ts24 Thank you for providing the configuration details. It seems like the transfer to Assistant A (Mayu) is not functioning as expected. Since the transfer conditions are defined in the prompt of the First Assistant, it's important to ensure that the trigger for the transfer is being met and that the system is correctly configured to handle the transfer to the VAPI Block provider. Here are a few steps you can take to troubleshoot the issue: 1. Verify that the transfer trigger is correctly set up in the First Assistant's configuration and that it matches the conditions under which you want the transfer to occur. 2. Check if there are any logs or error messages when the transfer to Assistant A is attempted. This can provide clues as to why the transfer is not successful. 3. Ensure that Assistant A is correctly configured within the VAPI Block provider, with the correct endpoint and authentication details. 4. Test the VAPI Block provider independently to confirm that it is operational and able to handle requests outside of the Squad setup. If after these steps the issue persists, it may be necessary to consult with the support team for the VAPI Block provider or the platform that manages the Squad configuration. They may have additional insights or be able to identify configuration issues that are not immediately apparent. Please let me know if you need further assistance or if you would like me to perform any specific checks or actions based on the information you've provided.
d
@Vapi @User Here is my log file. When I checked the log, it clearly showed that it successfully switched to my Assistant A. However, after that, it responded to me in a language I couldn't understand. The issue is that when I use this Assistant A independently by testing it in the Blocks section, it works perfectly fine. But when applied within Squads, it doesn't seem to function properly. I need more detailed support to resolve this issue. https://cdn.discordapp.com/attachments/1321312088269783162/1321374830066401391/message.txt?ex=676d01b5&is=676bb035&hm=8c4741e3f0f5c616237957213aa091975b73d189ce9451f9185f1032de71eabe&
v
@ducnt.ts24 I understand that Assistant A works well independently but encounters issues within the Squads environment. Since the logs indicate a successful switch but the response is in an unintelligible language, this could be a configuration issue related to language settings or a processing error when the assistant is integrated into the Squads. To provide more detailed support, I would recommend the following steps: 1. Double-check the language settings for Assistant A within the Squads configuration to ensure they match the settings when Assistant A is used independently. 2. Review the integration points between the Squads and the VAPI Block provider to ensure that the data passed to Assistant A is correctly formatted and encoded. 3. If possible, simulate the transfer process within a controlled environment to see if the issue can be replicated and to identify at which point the response becomes unintelligible. 4. Since the issue seems to be specific to the Squads environment, consider reaching out to the support team with the log file and detailed information about the issue for further investigation. If you would like me to assist you with contacting support or if there's anything specific you'd like me to check, please let me know. I'm here to help you resolve this issue as smoothly as possible.
d
@Vapi @User I have understood that the issue is caused by the need to configure the model in Squads as well. However, if I set it there, how can I configure different voices for each Assistant? For example, currently, if I select the voice from the Azure provider, it only offers the Japanese voice of Naoki. How can I set a different Japanese voice for an Assistant within Squads?
v
@ducnt.ts24 To configure different voices for each assistant within Squads, you will need to adjust the settings for each individual assistant. If you're using the Azure provider and want to select a different Japanese voice for an assistant, you should be able to do so by specifying the desired voice in the configuration settings for that particular assistant. Here's a general approach to setting different voices for each assistant: 1. Access the configuration settings for the assistant you want to modify within Squads. 2. Look for the voice settings or similar section where you can specify the voice provider and voice selection. 3. Choose the Azure provider and then select from the available Japanese voices other than Naoki, such as 'Aria', 'Ayumi', 'Haruka', 'Ichiro', or any other available voice. 4. Save the configuration settings for that assistant. Repeat these steps for each assistant you want to configure with a different voice. Make sure that each assistant has a unique voice setting that corresponds to your preferences. If you need assistance with the specific steps or if the option to select different voices is not available in your current interface, please ask support for more info on this. They can provide detailed instructions or update the system to accommodate your requirements.
s
@ducnt.ts24 Sorry for the late response. Blocks are not yet ready for production or development use, so you'll need to use the assistant for now.
Do let me know if you require further help.