Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Provider ¶
type Provider interface {
// Name returns the canonical lowercase name of this provider (e.g. "openai").
Name() string
// Query sends a prompt to the AI and returns the text response.
Query(ctx context.Context, systemPrompt, userPrompt string) (string, error)
}
Provider is the common interface for all AI backends.
Click to show internal directories.
Click to hide internal directories.