mcp

package
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 11, 2026 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	AdaptiveRerank bool
	// LazyRerank runs the cross-encoder only when the fused ranking is
	// ambiguous, keeping confident queries on the fast (~100ms) path.
	LazyRerank bool
}

type Server

type Server struct {
	// contains filtered or unexported fields
}

func NewServer

func NewServer(r *retrieve.Retriever, log *slog.Logger) *Server

func NewServerWithFeedback

func NewServerWithFeedback(r *retrieve.Retriever, rec *feedback.Recorder, log *slog.Logger) *Server

func NewServerWithOptions

func NewServerWithOptions(r *retrieve.Retriever, rec *feedback.Recorder, opts Options, log *slog.Logger) *Server

func (*Server) Serve

func (s *Server) Serve(ctx context.Context) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL