socai

package
v0.0.0-...-221c3f5 Latest Latest
Warning

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

Go to latest
Published: May 16, 2026 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSocaiVerification

func NewSocaiVerification(config SOCAIConfig) providers.IProvider

Types

type Provider

type Provider string
const (
	Openai    Provider = "openai"
	Anthropic Provider = "anthropic"
	Azure     Provider = "azure"
	Gemini    Provider = "gemini"
	Ollama    Provider = "ollama"
	Mistral   Provider = "mistral"
	Deepseek  Provider = "deepseek"
	Groq      Provider = "groq"
	Custom    Provider = "custom"
)

type ProviderVerificationBuilder

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

func (*ProviderVerificationBuilder) Validate

func (p *ProviderVerificationBuilder) Validate() error

type SOCAIConfig

type SOCAIConfig struct {
	AutoAnalyze       bool
	IncidentCreation  bool
	ChangeAlertStatus bool
	Provider          string
	URL               string
	Model             string
	AuthType          string // "custom-headers", "none"
	MaxTokens         string
	CustomHeaders     map[string]string // All headers including auth (from frontend)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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