Expand description
Core trait definitions for cross-crate integration.
Provides trait contracts used by optional companion crates:
- reasonkit-mem
- reasonkit-web Core trait definitions for ReasonKit cross-crate integration.
This module defines the interface contracts between:
reasonkit-coreandreasonkit-mem(memory/storage operations)reasonkit-coreandreasonkit-web(web browsing operations)
These traits enable parallel development and loose coupling between crates.
Structs§
- Capture
Options - Options for screenshot capture.
- Captured
Page - A captured page (screenshot or PDF).
- Chunk
- A chunk of a document after splitting.
- Clip
Rect - Rectangle for clipping screenshots.
- Context
Window - A context window assembled from retrieved chunks.
- Cookie
- A browser cookie.
- Document
- A document to be stored in memory.
- Extract
Options - Options for content extraction.
- Extracted
Content - Extracted content from a page.
- Hybrid
Config - Configuration for hybrid search.
- Image
- An image from extracted content.
- Index
Config - Configuration for index creation.
- Index
Stats - Statistics about the memory index.
- Link
- A hyperlink from extracted content.
- Memory
Config - Configuration for the memory service.
- Navigate
Options - Options for navigation.
- Page
Handle - Handle to a loaded page.
- Search
Result - A search result from memory retrieval.
- Viewport
- Viewport dimensions.
Enums§
- Capture
Format - Format for captured images.
- Distance
Metric - Distance metric for vector similarity.
- Extract
Format - Format for extracted content.
- Memory
Error - Errors that can occur during memory operations.
- Retrieval
Source - Source of the retrieval result.
- Wait
Until - When to consider navigation complete.
- WebAdapter
Error - Errors that can occur during web operations.
Traits§
- Memory
Service - Core abstraction for memory operations.
- WebBrowser
Adapter - Core abstraction for web browser operations.
Type Aliases§
- Memory
Result - Result type for memory operations.
- WebAdapter
Result - Result type for web adapter operations.