ai

package
v0.0.0-...-17e6b21 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ComplianceAnalyzer

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

func NewComplianceAnalyzer

func NewComplianceAnalyzer(
	aiModel *ai.ComplianceModel,
	metrics *metrics.QuantumStorageMetrics,
	tracer tracing.Tracer,
) *ComplianceAnalyzer

func (*ComplianceAnalyzer) AnalyzeCompliance

func (ca *ComplianceAnalyzer) AnalyzeCompliance(
	ctx context.Context,
	policyID string,
	data interface{},
) (*ComplianceInsight, error)

func (*ComplianceAnalyzer) GetInsight

func (ca *ComplianceAnalyzer) GetInsight(ctx context.Context, insightID string) (*ComplianceInsight, error)

type ComplianceInsight

type ComplianceInsight struct {
	ID              string
	PolicyID        string
	AnalysisType    string
	Confidence      float64
	Recommendations []Recommendation
	RiskScore       float64
	CreatedAt       time.Time
	UpdatedAt       time.Time
	Metadata        map[string]interface{}
}

type Recommendation

type Recommendation struct {
	ID          string
	Type        string
	Priority    int
	Description string
	Evidence    map[string]interface{}
	Action      string
}

Jump to

Keyboard shortcuts

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