MCPcopy Index your code
hub / github.com/InferCore/InferCore / Rerank

Method Rerank

internal/interfaces/interfaces.go:50–50  ·  view source on GitHub ↗
(ctx context.Context, query string, chunks []types.RetrievalChunk, opts map[string]any)

Source from the content-addressed store, hash-verified

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
53type CostEngine interface {

Callers 2

runRAGRetrieveFunction · 0.65
runRAGPipelineMethod · 0.65

Implementers 1

NoopRerankinternal/retrieval/noop_rerank.go

Calls

no outgoing calls

Tested by

no test coverage detected