Module streaming

Module streaming 

Source
Expand description

§RRAG Streaming System

Real-time streaming responses using Rust’s async ecosystem. Leverages tokio-stream and futures for efficient token streaming.

Modules§

stream_utils
Utility functions for working with streams

Structs§

FilteredStream
Filtered stream that only yields specific token types
MappedStream
Mapped stream that transforms tokens
StreamToken
Streaming response token
StreamingResponse
Streaming response wrapper
TokenStreamBuilder
Token stream builder for creating custom streams

Enums§

TokenType
Token types for different streaming content

Type Aliases§

TokenStream
Convenience type alias for token streams