Skip to content
This repository was archived by the owner on Aug 15, 2024. It is now read-only.

Conversation

@sarahcstringer
Copy link
Contributor

One for changing an agent's language, and one for turning on Sentiment Analysis.

One for changing an agent's language, and one for
turning on Sentiment Analysis.
Copy link

@craigsdennis craigsdennis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM if it works!


response = VoiceResponse()
connect = Connect()
connect.virtualagent(connector_name='project', language='fr')

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This right?


response = VoiceResponse()
connect = Connect(action='https://myactionurl.com/twiml')
connect.virtualagent(

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Interesting...confused as to why there is no underscore in py


response = Twilio::TwiML::VoiceResponse.new
response.connect do |connect|
connect.virtual_agent(connector_name: 'project', sentiment_analysis: true)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yet there is in ruby

@sarahcstringer
Copy link
Contributor Author

Fixed the Python and I went through and tested all the other code samples to make sure they're working.

@sarahcstringer sarahcstringer merged commit a9128bb into master Mar 18, 2021
@sarahcstringer sarahcstringer deleted the more-virtual-agent-samples branch March 18, 2021 23:01
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants