Expand description
Transforms applied to the event stream before step results are accumulated.
A transform receives the whole event stream and returns a new one. It must preserve the event structure (start/delta/end pairs, step boundaries) so that the event processor can still build step results.
Structs§
- Smooth
Stream - The smoothing transform; see
smooth_stream. - Smooth
Stream Config - Configuration of
smooth_stream. - Transform
Context - Information handed to a transform when it is applied.
Enums§
- Chunking
- How buffered text is split into chunks.
Traits§
- Stream
Transform - A stream transform.
Functions§
- smooth_
stream - Creates the smoothing transform.
Type Aliases§
- Chunk
Detector - A function returning the byte length of the next chunk in a buffer, or
Nonewhen the buffer holds no complete chunk yet.