Expand description
ConversationProjector trait and AnyProjector type-erasing wrapper.
A projector is the “serialize” half of a serde-like pattern for conversation
portability — the inverse of ConversationProvider.
Where a provider reads provider-specific data and produces a ConversationView,
a projector consumes a ConversationView and produces some output type.
Structs§
- AnyProjector
- A type-erased
ConversationProjectorfor dynamic dispatch.
Traits§
- Conversation
Projector - Convert a
ConversationViewinto an output type.