allow api_key assignment to occur after imports

This commit is contained in:
Ajay Raj 2023-03-20 10:49:20 -07:00
commit d1118d375e
9 changed files with 43 additions and 60 deletions

View file

@ -12,18 +12,19 @@ from vocode.telephony.zoom_dial_in import ZoomDialIn
if __name__ == "__main__":
call = ZoomDialIn(
recipient=CallEntity(phone_number="<zoom_phone_number>"),
recipient=CallEntity(phone_number="<your zoom phone number>"),
caller=CallEntity(
phone_number="<your_phone_number>",
phone_number="<your phone number>",
),
zoom_meeting_id="<zoom_meeting_id>",
zoom_meeting_password="<zoom_meeting_password>",
zoom_meeting_id="<your zoom meeting id>",
zoom_meeting_password="<your zoom meeting password>",
agent_config=ChatGPTAgentConfig(
initial_message=BaseMessage(text="the quick fox jumped over the lazy dog "),
prompt_preamble="respond two sentences at a time",
generate_responses=True,
end_conversation_on_goodbye=True,
send_filler_audio=True,
allowed_idle_time_seconds=30
),
synthesizer_config=AzureSynthesizerConfig.from_output_device(
output_device=TelephoneOutput(), voice_name="en-US-JennyNeural"