Documentation
¶
Index ¶
Constants ¶
View Source
const Version = "1.0.0"
Variables ¶
This section is empty.
Functions ¶
func NewGeminiProvider ¶
func NewGeminiProvider(config semantic.ProviderConfig, logger *slog.Logger) (semantic.Provider, error)
NewGeminiProvider creates a new Gemini provider instance
Types ¶
type GeminiProvider ¶
type GeminiProvider struct {
// contains filtered or unexported fields
}
GeminiProvider implements the Provider interface for Google Gemini API
func (*GeminiProvider) Analyze ¶
func (p *GeminiProvider) Analyze(ctx context.Context, metadata *types.FileMetadata) (*types.SemanticAnalysis, error)
Analyze generates semantic understanding for a file
func (*GeminiProvider) Model ¶
func (p *GeminiProvider) Model() string
Model returns the model being used
func (*GeminiProvider) Name ¶
func (p *GeminiProvider) Name() string
Name returns the provider identifier
func (*GeminiProvider) SupportsDocuments ¶
func (p *GeminiProvider) SupportsDocuments() bool
SupportsDocuments returns whether provider supports PDF/document blocks
func (*GeminiProvider) SupportsVision ¶
func (p *GeminiProvider) SupportsVision() bool
SupportsVision returns whether provider supports image analysis
Click to show internal directories.
Click to hide internal directories.