Skip to content

Conversation

@HipsterBrown
Copy link
Contributor

This cannot be merged until the RDK modules manager supports foreign server handlers for module <-> module gRPC communication.

In order to support other speech-to-text (STT) capabilities with this module, this PR adds the "local" option to the speech_provider configuration attribute and associated speech_service_name attribute.

str(attrs.get("speech_provider", "google"))
]
self.speech_provider_key = str(attrs.get("speech_provider_key", ""))
self.speech_service_name = str(attrs.get("speech_service_name", ""))
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I went with this approach of the "local" value for the speech provider field paired with this field to keep the Enum usage for the SpeechProvider. If we want this configuration to match the listen_provider setting just the service name, I can refactor for consistency and remove the Enum.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants