Skip to main content

SmartLSResponse

Type Alias SmartLSResponse 

Source
pub type SmartLSResponse = SmartResponse<SmartDirEntry>;
Expand description

📊 Smart directory listing response

Aliased Type§

pub struct SmartLSResponse {
    pub primary: Vec<SmartDirEntry>,
    pub secondary: Vec<SmartDirEntry>,
    pub context_summary: String,
    pub token_savings: TokenSavings,
    pub suggestions: Vec<String>,
}

Fields§

§primary: Vec<SmartDirEntry>

Primary results (high relevance)

§secondary: Vec<SmartDirEntry>

Secondary results (medium relevance)

§context_summary: String

Context summary

§token_savings: TokenSavings

Token savings achieved

§suggestions: Vec<String>

Proactive suggestions