pub(super) fn single_event_stream(
event: ChatbotChatStreamEvent,
) -> ChatbotResult<Pin<Box<dyn Stream<Item = ChatbotResult<Bytes>> + Send>>>Expand description
A stream that carries one event and ends, for a response with no turn behind it.
pub(super) fn single_event_stream(
event: ChatbotChatStreamEvent,
) -> ChatbotResult<Pin<Box<dyn Stream<Item = ChatbotResult<Bytes>> + Send>>>A stream that carries one event and ends, for a response with no turn behind it.