Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AnalysisRequest ¶
type AnalysisResponse ¶
type AnthropicProvider ¶
type AnthropicProvider struct {
// contains filtered or unexported fields
}
func (*AnthropicProvider) AnalyzeCode ¶
func (p *AnthropicProvider) AnalyzeCode(ctx context.Context, req AnalysisRequest) (*AnalysisResponse, error)
func (*AnthropicProvider) Name ¶
func (p *AnthropicProvider) Name() string
type OllamaProvider ¶
type OllamaProvider struct {
// contains filtered or unexported fields
}
func (*OllamaProvider) AnalyzeCode ¶
func (p *OllamaProvider) AnalyzeCode(ctx context.Context, req AnalysisRequest) (*AnalysisResponse, error)
func (*OllamaProvider) Name ¶
func (p *OllamaProvider) Name() string
type OpenAIProvider ¶
type OpenAIProvider struct {
// contains filtered or unexported fields
}
func (*OpenAIProvider) AnalyzeCode ¶
func (p *OpenAIProvider) AnalyzeCode(ctx context.Context, req AnalysisRequest) (*AnalysisResponse, error)
func (*OpenAIProvider) Name ¶
func (p *OpenAIProvider) Name() string
type Provider ¶
type Provider interface {
AnalyzeCode(ctx context.Context, req AnalysisRequest) (*AnalysisResponse, error)
Name() string
}
func NewProvider ¶
func NewProvider(name string, cfg ProviderConfig) Provider
type ProviderConfig ¶
Click to show internal directories.
Click to hide internal directories.