infer

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package infer uses AI to classify uncategorized commits into conventional commit types.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InferTypes

func InferTypes(ctx context.Context, commits []commit.Commit, client ai.Client, opts Options) []commit.Commit

Types

type Options

type Options struct {
	Threshold float64
	Types     []string
}

type Result

type Result struct {
	Hash       string  `json:"hash"`
	Type       string  `json:"type"`
	Confidence float64 `json:"confidence"`
}

Jump to

Keyboard shortcuts

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