Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Runtime ¶
type Runtime struct {
ExampleIndex *resource.ExampleIndex
RunbookRegistry *runbooks.Registry
RunbookIndex *resource.RunbookIndex
EIPRegistry *eips.Registry
EIPIndex *resource.EIPIndex
SpecsRegistry *consensusspecs.Registry
SpecsIndex *resource.ConsensusSpecIndex
// contains filtered or unexported fields
}
Runtime holds the semantic search indices and embedder.
func Build ¶
func Build( ctx context.Context, log logrus.FieldLogger, moduleRegistry *module.Registry, proxyService proxy.Service, cacheDir string, specsCfg config.ConsensusSpecsConfig, ) (*Runtime, error)
Build creates a new search runtime with example, runbook, EIP, and consensus spec indices. Embedding is provided by the proxy's remote embedding service. cacheDir enables a local filesystem cache for embedding vectors when non-empty.
Click to show internal directories.
Click to hide internal directories.