12 lines
353 B
Go
12 lines
353 B
Go
package prompt
|
|
|
|
import (
|
|
"context"
|
|
"gitea.maximumdirect.net/eric/scriptorium/internal/domain"
|
|
)
|
|
|
|
// Renderer renders prompt templates using named artifacts and variables.
|
|
type Renderer interface {
|
|
Render(ctx context.Context, profile *domain.PromptProfile, inputs map[string]*domain.Artifact, vars map[string]string) (*domain.RenderedPrompt, error)
|
|
}
|