MCPcopy Index your code
hub / github.com/docker/docker-agent / Manager

Struct Manager

pkg/rag/manager.go:64–73  ·  view source on GitHub ↗

Manager orchestrates RAG operations using pluggable strategies Supports both single-strategy and hybrid multi-strategy retrieval with fusion

Source from the content-addressed store, hash-verified

62// Manager orchestrates RAG operations using pluggable strategies
63// Supports both single-strategy and hybrid multi-strategy retrieval with fusion
64type Manager struct {
65 name string
66 config Config
67 strategies map[string]strategy.Strategy // Map of strategy name -> strategy instance
68 strategyConfigs map[string]strategy.Config // Store configs for per-strategy operations
69 fusion fusion.Fusion // Fusion strategy for combining multi-strategy results
70 reranker rerank.Reranker // Optional reranker for result re-scoring
71 rerankDisabled atomic.Bool // Set after a non-retryable reranking error to stop doomed requests
72 events <-chan types.Event // Shared event channel from strategies and other RAG operations
73}
74
75// FusionConfig holds configuration for result fusion
76type FusionConfig struct {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected