Versions in this module Expand all Collapse all v0 v0.8.1 May 14, 2026 Changes in this version + func ApplyFeedback(recs []Recommendation, feedback map[string]Feedback) + func DefaultQuery(task string) string + func FeedbackFromHistory(st *state.DB, task, query, hardwareKey string) (map[string]Feedback, error) + func FeedbackKey(uri string) string + func FormatBytes(n int64) string + func HardwareKey(hw HardwareProfile) string + func MemoryBudgetBytes(hw HardwareProfile) int64 + func NormalizeTask(task string) string + func Recommend(ctx context.Context, opts Options) ([]Recommendation, HardwareProfile, error) + func RecordHistory(st *state.DB, task, query, hardwareKey string, recs []Recommendation, ...) error + func RoundedGiB(bytes int64) int64 + type Feedback struct + Selected int + Shown int + Skipped int + type HardwareProfile struct + Arch string + CPU string + OS string + RAMBytes int64 + Source string + UnifiedMemory bool + VRAMBytes int64 + func DetectHardware(ctx context.Context) HardwareProfile + type Options struct + Feedback map[string]Feedback + Hardware HardwareProfile + Limit int + Provider string + Query string + Task string + type Recommendation struct + DownloadCommand string + Downloads int64 + EstimatedRequired int64 + FileName string + FileType string + Fit string + Index int + Likes int64 + MemoryBudget int64 + ModelID string + Name string + ParameterCount string + Provider string + Quantization string + Raw discovery.Result + Reasons []string + RuntimeHints []RuntimeHint + Score int + Size int64 + URI string + func Rank(results []discovery.Result, hw HardwareProfile, task string) []Recommendation + type RuntimeHint struct + PlacementPreset string + Reason string + Runtime string + SetupCommand string