- Only INT, STRING, BOOLEAN are supported as the datatypes in the INPUT
- The shape of the parameter should be [1], multiple inputs or objects are by using “json.dumps(object)” and then passed as string
- Output should have the same schema in all the iterative responses
Key Advantages of Using SSE
1.Simplicity: SSE is straightforward to implement both on the server and the client side. Unlike WebSockets, which require a special protocol and server setup, SSE works over standard HTTP and can be handled by traditional web servers without any special configuration. 2.Efficient Real-time Communication: SSE is designed for scenarios where the server needs to push data to the client. It’s very efficient for use cases like live notifications, feeds, and real-time analytics dashboards where updates are frequent and originate from the server.- Built-in Reconnection: SSE has automatic reconnection support. If the connection between the client and server is lost, the client will automatically attempt to reestablish the connection after a timeout. This makes it resilient and ensures continuous data flow without manual intervention.