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

Add connect_named_pipe Method to CloudAdapter for DirectLine Speech Support #1

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

cosineai[bot]
Copy link

@cosineai cosineai bot commented Oct 25, 2024

This pull request addresses the need for DirectLine Speech support in the Python SDK by adding the connect_named_pipe method to the CloudAdapter class. This method is essential for enabling bots to utilize DirectLine Speech services, which was previously unsupported due to the absence of this functionality.

Changes Made:

  • Introduced a new _NamedPipeClient class to handle named pipe connections.
  • Added the connect_named_pipe method to the _StreamingActivityProcessor class, allowing it to establish a connection using the named pipe client.
  • Updated imports to include necessary modules for named pipe operations.

These changes align the Python SDK more closely with the .NET and JavaScript SDKs, providing a more consistent experience across platforms and enabling the use of DirectLine Speech in Python-based bots. This enhancement will allow developers to leverage advanced speech capabilities in their applications.

Co-authored-by: Genie <genie@cosine.sh>
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.

1 participant