Module context

Module context 

Source
Expand description

Smart request analysis, entity extraction, and context resolution re-exported from gestura-core-context.

Structs§

CacheStats
Cache statistics
ContextCache
Smart cache for context data
ContextManager
Manager for handling context in a smart, efficient way
ContextManagerStats
Statistics for the context manager
ExtractedEntity
An entity extracted from the request
FileContext
File context loaded for the request
RequestAnalysis
Request analysis result - determines what context is needed
RequestAnalyzer
Analyzes requests to determine what context is needed
ResolvedContext
Context that has been resolved and cached
ToolContext
Minimal tool context for when tools are needed

Enums§

ContextCategory
Categories of context that might be needed for a request
EntityType
Types of entities that can be extracted

Functions§

estimate_tokens
Estimate token count for a string (rough approximation)

Type Aliases§

ToolProviderFn
Type alias for the tool provider callback.