Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: External Action Response and parameters not working #736

Open
Awaiskhan404 opened this issue Dec 20, 2024 · 0 comments
Open

[Bug]: External Action Response and parameters not working #736

Awaiskhan404 opened this issue Dec 20, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Awaiskhan404
Copy link

Brief Description

Hi, i was implementing the external actions on vocode. But on call when i say to schedule meeting for tomorrow it has to run the external action and call an internal webhook api that i implemented. But what happens is it does ask for params and response too. But somehow what is think is it becomes quite and execute action even before confirming the time of meeting. Even though i can see that i logs that he is trying to speak but cannot hear back even after action complete. i am attaching the logs below. Can you please look into this bug and help me out. i am using 1.1.3 version instead of main

https://docs.google.com/document/d/1bM1XE-qLKSZPgvEfghlHCK6gKVWBwjIZHLPCzlxdUg4/edit?usp=sharing

LLM

GPT-4

Transcription Services

Deepgram

Synthesis Services

Eleven Labs

Telephony Services

Twilio

Conversation Type and Platform

ExecuteExternalActionVocodeActionConfig(
processing_mode="muted",
name="Meeting_Booking_Assistant",
description="""
Book a google meeting for a 30 minute or 1 hour call and before booking
confirm the prospect that the meeting is scheduled on the correct date and time don't proceed if the prospect doesn't confirm the date and time and tell them to end the call after confirmation.
""",
url=f"https://{BASE_URL}/external_actions/meeting_booking",
speak_on_send=True,
speak_on_receive=True,
input_schema=json.dumps({
"type": "object",
"properties": {
"length": {
"type": "string",
"enum": ["30m", "1hr"],
},
"time": {
"type": "string",
"pattern": "^\d{2}:\d0[ap]m$",
},
"contact_name": {
"type": "string",
"pattern": "^[a-zA-Z ]+$",
},
"contact_uuid": {
"type": "string",
"pattern": "^[a-zA-Z0-9-]+$",
},
"meeting_date":{
"type": "string",
"pattern": "^\d{4}-\d{2}-\d{2}$",
},
"campaign_uuid":{
"type": "string",
"pattern": "^[a-zA-Z0-9-]+$",
}
},
}),
signature_secret=base64.b64encode(os.urandom(32)).decode(),
)
]

Steps to Reproduce

Use this config on 1.1.3

Expected Behavior

It should ask for all params and respond back after booking

Screenshots

Screenshot 2024-12-20 at 4 24 53 PM
Screenshot 2024-12-20 at 4 25 03 PM
Screenshot 2024-12-20 at 4 25 09 PM

@Awaiskhan404 Awaiskhan404 added the bug Something isn't working label Dec 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant