Documentation
¶
Index ¶
Constants ¶
View Source
const ( ProviderOpenAI = "openai" ProviderAnthropic = "anthropic" ProviderZAI = "zai" ProviderMiniMax = "minimax" ProviderOpenRouter = "openrouter" ClassificationProvenanceAI = "ai" )
Variables ¶
This section is empty.
Functions ¶
func FailOnError ¶
Types ¶
type Assessment ¶
type Assessor ¶
type Assessor interface {
Assess(ctx context.Context, req Request) (*Assessment, error)
}
type LangChainAssessor ¶
type LangChainAssessor struct {
// contains filtered or unexported fields
}
func NewLangChainAssessor ¶
func NewLangChainAssessor() *LangChainAssessor
func (*LangChainAssessor) Assess ¶
func (a *LangChainAssessor) Assess(ctx context.Context, req Request) (*Assessment, error)
Click to show internal directories.
Click to hide internal directories.