package
Version:
v0.5.5
Opens a new window with list of versions in this module.
Published: Mar 15, 2025
License: Apache-2.0
Opens a new window with license information.
Imports: 11
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type LanguageScore struct {
Label string `json:"label"`
Score float64 `json:"score"`
}
type Rule struct {
Prompt interface{} `json:"prompt"`
Config lib.Config `json:"config"`
}
type RuleInspection struct {
CheckResult bool `json:"check_result"`
Score float64 `json:"score"`
AnonymizedContent string `json:"anonymized_content"`
Details map[string]interface{} `json:"details"`
}
type RuleResult struct {
Match bool `json:"match"`
Inspection RuleInspection `json:"inspection"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.