verification

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Enabled             bool
	DBPath              string
	ModelPath           string
	EmbeddingsPath      string // Path to embeddings models directory
	SimilarityThreshold float32
	EphemeralStore      bool
	LLMEndpoint         string
}

Config holds pipeline configuration

type Pipeline

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

Pipeline orchestrates the verification process

func NewPipeline

func NewPipeline(config *Config) (*Pipeline, error)

NewPipeline creates a new verification pipeline

func (*Pipeline) Close

func (p *Pipeline) Close() error

Close releases pipeline resources

func (*Pipeline) VerifyFinding

func (p *Pipeline) VerifyFinding(
	filePath string,
	lineNumber int,
	line string,
	patternType string,
	match string,
	entropy float64,
	context string,
	confidence string,
) (*llm.VerificationResult, error)

VerifyFinding verifies a single finding

Jump to

Keyboard shortcuts

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