-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Labels
priority:lowstatus:on-holdThe issue should not be achievedThe issue should not be achievedtype:discussiontype:enhancementNew feature or requestNew feature or request
Description
Problem
The transcriber_whispy node currently manages buffers internally, which makes it stateful. This approach is not scalable and goes against the principle of keeping nodes stateless and composable.
Proposed Solution
We need a generic mechanism to handle data batching without requiring nodes to maintain internal state. This could potentially be implemented through:
- the next_batch() method
Requirements
- Nodes should be completely stateless
- To handle properly the last messages in the incoming buffer should be a generic, reusable mechanism
Additional context
Nodes should be stateless to achieve:
- Easier testing
- Better composability
- Simplified node implementation
- More predictable behavior
- Easier to reason about data flow
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
priority:lowstatus:on-holdThe issue should not be achievedThe issue should not be achievedtype:discussiontype:enhancementNew feature or requestNew feature or request