Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AnalyzerManager ¶
type AnalyzerManager struct{}
AnalyzerManager selects analyzers based on language or workspace project type.
func NewAnalyzerManager ¶
func NewAnalyzerManager() *AnalyzerManager
NewAnalyzerManager creates a new analyzer manager.
func (*AnalyzerManager) CodeAnalyzerForProjectType ¶
func (m *AnalyzerManager) CodeAnalyzerForProjectType(projectType string) codetypes.PathAnalyzer
CodeAnalyzerForProjectType returns a PathAnalyzer appropriate for the project type. It returns nil when no analyzer is available for the given language.
type Indexer ¶
type Indexer struct {
// contains filtered or unexported fields
}
Indexer indexes CodeChunks into LongTermMemory using an embedding Provider.
func NewIndexer ¶
func NewIndexer(analyzer codetypes.PathAnalyzer, embedder llm.Provider, ltm memory.LongTermMemory) *Indexer
Click to show internal directories.
Click to hide internal directories.