ForcePilot/backend/package/yuxi/channel/extensions/alexa/streaming.py

26 lines
615 B
Python
Raw Normal View History

class AlexaStreaming:
streaming_mode = None
streaming_enabled = False
block_streaming_enabled = False
@classmethod
def should_stream(cls, estimated_length: int) -> bool:
return False
@classmethod
def build_chunk(cls, text: str, is_final: bool) -> str:
return text
@classmethod
def create_draft_stream_session(cls, session_key: str):
return None
def get_streaming_mode(self) -> str | None:
return None
def is_streaming_enabled(self) -> bool:
return False
def is_block_streaming_enabled(self) -> bool:
return False