-
Notifications
You must be signed in to change notification settings - Fork 47
LabGraph Monitor API Improvement #77
Comments
Hi There, |
Hi @AlexeyAulov! So, I know you wrote this a while back, but I figured I'll reply in case you're still working on this.
WebSocket connections is totally fine as it is right now. It was built way before us. The connections @jfResearchEng is talking about here are between different nodes in the example, like I couldn't developer a better way to do real-time messaging without using different Topics like
The Serializer part is crucial as it collects data about the entire Graph, puts it into a Python Dictionary, and sends it off using WebSocket. Without the Serializer, there is no way to communicate topology to the WebSocket. I like the last point you make:
But the issue I'm seeing is that the real-time data needs to come together inside the Serializer because it is the only one communicating with WebSocket. |
@AlexeyAulov you can always find me on our Fellowship Discord if you ever want to discuss more! Maybe we can even with @bennaaym who is an expert on everything LabGraph Monitor related |
🚀 Feature
LabGraph Monitor currently needs a user to define the websocket connections when generating the yaml file passed to the frontend. Example for labgraph_monitor_example.py (link):
Can we simplify the the API to the following instead:
Additional context
The text was updated successfully, but these errors were encountered: