Giter VIP home page Giter VIP logo

Comments (2)

mcosicaws avatar mcosicaws commented on June 24, 2024

Is that related to voice or chat?

For voice, the solution utilize Amazon Transcribe for speech to text, therefore the language has to be supported by Amazon Transcribe. More details can be found here:
https://docs.aws.amazon.com/transcribe/latest/dg/API_streaming_StartStreamTranscription.html
Please check LanguageCode parameter.
Once you confirmed the language is supported, you need to set the languageCode parameter in your Contact Flow.
More details can be found here:
https://docs.aws.amazon.com/solutions/latest/ai-powered-speech-analytics-for-amazon-connect/controlling-solution-behavior.html

On the client side, customer language is then set on this line:
https://github.com/amazon-connect/ai-powered-speech-analytics-for-amazon-connect/blob/main/source/web_site/agentAssist.html#L487
customerLanguage = fromLanguageDict[attr.languageCode.value];

List of agent languages (drop-down selection) is defined here:
https://github.com/amazon-connect/ai-powered-speech-analytics-for-amazon-connect/blob/main/source/web_site/agentAssist.html#L1274
You can expand this list with any additional languages supported by Amazon Translate service.

The solution utilize Amazon Translate, please check the list of supported languages here:
https://docs.aws.amazon.com/translate/latest/dg/what-is.html#language-pairs

Therefore, for voice, customer language (set in Contact Flow) is translated into the agent language (set in the drop-down list)

On the other hand, chat messages do not require Amazon Transcribe, and solution utilizes Amazon Comprehend to detect the customer language:
https://github.com/amazon-connect/ai-powered-speech-analytics-for-amazon-connect/blob/main/source/web_site/agentAssist.html#L860

List of agent languages (drop-down selection) is defined here:
https://github.com/amazon-connect/ai-powered-speech-analytics-for-amazon-connect/blob/main/source/web_site/agentAssist.html#L1192
You can expand this list with any additional languages supported by Amazon Translate service.

Basically, for chat, customer detected language is then translated into the selected agent language.

I hope this helps, but please let us know if you need more details.

Thanks,
Milos

from ai-powered-speech-analytics-for-amazon-connect.

mcosicaws avatar mcosicaws commented on June 24, 2024

Closing due to no response, please feel free to re-open should you need any additional help.

from ai-powered-speech-analytics-for-amazon-connect.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.