MCPcopy Create free account
hub / github.com/InferCore/InferCore / Name

Method Name

internal/interfaces/interfaces.go:49–49  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

47// RerankAdapter reorders or filters retrieval chunks before the model call (optional RAG step).
48type RerankAdapter interface {
49 Name() string
50 Rerank(ctx context.Context, query string, chunks []types.RetrievalChunk, opts map[string]any) (types.RetrievalResult, error)
51}
52

Callers 3

assertAdapterConformanceFunction · 0.65
runRAGPipelineMethod · 0.65

Implementers 1

NoopRerankinternal/retrieval/noop_rerank.go

Calls

no outgoing calls

Tested by 2

assertAdapterConformanceFunction · 0.52