Versions in this module Expand all Collapse all v1 v1.87.1 Jun 22, 2026 v1.87.0 Jun 22, 2026 Changes in this version + const SourceAssets + const SourceConnections + const SourceDatahub + const SourceEndpoints + const SourceInsights + const SourceMemory + const SourcePrompts + type AssetsProvider struct + func NewAssetsProvider(searcher assetSearcher) *AssetsProvider + func (*AssetsProvider) Name() string + func (*AssetsProvider) Scope() Scope + func (p *AssetsProvider) Search(ctx context.Context, q Query) ([]Hit, error) + type Caller struct + Email string + Persona string + UserID string + func (c Caller) Anonymous() bool + type ConnectionInfo struct + Description string + Kind string + Name string + type ConnectionLister interface + Connections func() []ConnectionInfo + type ConnectionsProvider struct + func NewConnectionsProvider(lister ConnectionLister) *ConnectionsProvider + func (*ConnectionsProvider) Name() string + func (*ConnectionsProvider) Scope() Scope + func (p *ConnectionsProvider) Search(_ context.Context, q Query) ([]Hit, error) + type DatahubProvider struct + func NewDatahubProvider(searcher tableSearcher) *DatahubProvider + func (*DatahubProvider) Name() string + func (*DatahubProvider) Scope() Scope + func (p *DatahubProvider) Search(ctx context.Context, q Query) ([]Hit, error) + type EndpointCandidate struct + Connection string + Method string + OperationID string + Path string + Score float64 + Spec string + Summary string + type EndpointSearcher interface + SearchEndpoints func(ctx context.Context, intent string, limit int) ([]EndpointCandidate, error) + type EndpointsProvider struct + func NewEndpointsProvider(searchers ...EndpointSearcher) *EndpointsProvider + func (*EndpointsProvider) Name() string + func (*EndpointsProvider) Scope() Scope + func (p *EndpointsProvider) Search(ctx context.Context, q Query) ([]Hit, error) + type Hit struct + Dimension string + EntityURNs []string + Ref string + Score float64 + Source string + Status string + Text string + type InsightsProvider struct + func NewInsightsProvider(searcher insightSearcher) *InsightsProvider + func (*InsightsProvider) Name() string + func (*InsightsProvider) Scope() Scope + func (p *InsightsProvider) Search(ctx context.Context, q Query) ([]Hit, error) + type LineageExpander interface + Expand func(ctx context.Context, urns []string) []string + type MemoryProvider struct + func NewMemoryProvider(store memorySearcher, lineage LineageExpander) *MemoryProvider + func (*MemoryProvider) Name() string + func (*MemoryProvider) Scope() Scope + func (p *MemoryProvider) Search(ctx context.Context, q Query) ([]Hit, error) + type PromptsProvider struct + func NewPromptsProvider(searcher promptSearcher) *PromptsProvider + func (*PromptsProvider) Name() string + func (*PromptsProvider) Scope() Scope + func (p *PromptsProvider) Search(ctx context.Context, q Query) ([]Hit, error) + type Provider interface + Name func() string + Scope func() Scope + Search func(ctx context.Context, q Query) ([]Hit, error) + type Query struct + Caller Caller + Embedding []float32 + EntityURNs []string + Intent string + Limit int + Sources []string + Status string + type Result struct + Coverage []SourceCoverage + Groups []SourceGroup + Ranking string + type Router struct + func NewRouter(embedder embedding.Provider, providers ...Provider) *Router + func (r *Router) Providers() []Provider + func (r *Router) Search(ctx context.Context, q Query) (Result, error) + type Scope int + const ScopePerUser + const ScopeShared + func (s Scope) String() string + type SourceCoverage struct + Matched int + Shown int + Source string + type SourceGroup struct + Hits []Hit + Source string