pub struct ContextWindow {
pub blocks: Vec<ContextBlock>,
pub total_tokens: usize,
pub format: String,
pub metadata: AssemblyMetadata,
}Expand description
The assembled context window ready for LLM consumption.
Fields§
§blocks: Vec<ContextBlock>§total_tokens: usize§format: String§metadata: AssemblyMetadataTrait Implementations§
Source§impl Clone for ContextWindow
impl Clone for ContextWindow
Auto Trait Implementations§
impl Freeze for ContextWindow
impl RefUnwindSafe for ContextWindow
impl Send for ContextWindow
impl Sync for ContextWindow
impl Unpin for ContextWindow
impl UnsafeUnpin for ContextWindow
impl UnwindSafe for ContextWindow
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more