2026-07-28 04:29:17 +00:00
|
|
|
package llm
|
|
|
|
|
|
|
|
|
|
import (
|
|
|
|
|
"context"
|
2026-11-02 14:38:00 +00:00
|
|
|
"go.maximumdirect.net/promptkit/internal/domain"
|
2026-07-28 04:29:17 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
|
|
// Client executes a rendered prompt against an LLM endpoint.
|
|
|
|
|
type Client interface {
|
|
|
|
|
Generate(ctx context.Context, req domain.GenerateRequest) (*domain.GenerateResponse, error)
|
|
|
|
|
}
|