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

Enable Support for Requests from External Programs #340

Open
uezo opened this issue Sep 9, 2024 · 0 comments
Open

Enable Support for Requests from External Programs #340

uezo opened this issue Sep 9, 2024 · 0 comments

Comments

@uezo
Copy link
Owner

uezo commented Sep 9, 2024

Currently, the framework can handle requests from device inputs such as audio, video, or text messages from the UI. However, it would be highly beneficial to allow requests to be sent from external programs as well.

Request:

  • Implement the ability to receive and process requests from external programs.
  • This would enable seamless integration with various external systems and workflows.

For example, developers could integrate the framework with a live streaming platform like YouTube, allowing the AI to respond to user comments in real-time. This functionality would greatly expand the versatility of the framework by enabling more complex and dynamic interactions between AI and external applications.

uezo added a commit that referenced this issue Sep 16, 2024
…nication

Implemented `SocketServer` component to accept requests from external programs through TCP socket communication.
Users can assign custom processing logic to the `OnDataReceived` event for handling received requests. The server runs on a separate thread, processes client data asynchronously, and enqueues requests to ensure execution on the main thread.

Addresses issue #340
uezo added a commit that referenced this issue Sep 16, 2024
Implemented the ability to hide the user message window in the AIAvatar component.
This prevents displaying unwanted text when receiving commands from external programs.
If the `UserMessageWindow` is not assigned in the AIAvatar component, user messages will not be shown.

Related issue: #340
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

No branches or pull requests

1 participant