Expand description
Data structures representing sessions, messages, and links. Core data models for Lore
These represent the internal representation of reasoning history, independent of any specific AI tool’s format.
Structs§
- Annotation
- An annotation on a session.
- Context
Message - A simplified message representation for context display.
- Machine
- Represents a machine that has captured sessions.
- Match
With Context - A single match with its surrounding context messages.
- Message
- A single message in a session
- Repository
- A tracked git repository.
- Search
Options - Options for filtering search results.
- Search
Result - A search result from full-text search of message content.
- Search
Result With Context - A search result with surrounding context messages.
- Session
- A Session represents a complete human-AI collaboration. This is the primary unit of reasoning history.
- Session
Link - Links a session to a git commit
- Summary
- A summary of a session.
- Tag
- A tag applied to a session.
Enums§
- Content
Block - A block of content within a message
- Link
Creator - Indicates how a session link was created.
- Link
Type - The type of link between a session and git history.
- Message
Content - Message content - can be simple text or complex with tool calls
- Message
Role - The role of a message sender in a conversation.
Functions§
- extract_
session_ files - Extracts file paths mentioned in a list of messages.