Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Document ¶
type Document struct {
ID string
TemplateID string
Filter string
FormValues string
Doc string
CreatedTS int64
}
Document is a persisted generated document (one template run's output), kept so a run is re-exportable without recomputing.
type Event ¶
type Event struct {
ID string
TS int64
Type string
Owner string
Repo string
SHA string
Number int
Title string
URL string
Additions int
Deletions int
Branch string
Raw string
}
Event is one GitHub activity item (commit / pr / review / issue / release), keyed by a stable "{type}:{owner}/{repo}:{sha|number}" id. Query-only model; the schema (columns + indexes) is owned by the SQL migrations.
type LLMCache ¶
type LLMCache struct {
Key string
Step string
ProcessingVersion string
InputHash string
Output string
CreatedTS int64
}
LLMCache is one cached LLM-step output, keyed by (step, processing_version, input_hash) so an unchanged input+version never re-hits the model.
type LLMSettings ¶ added in v0.7.0
type LLMSettings struct {
ID string
Model string
ReasoningEffort string
Temperature float64
UpdatedTS int64
}
LLMSettings is the single-row runtime LLM configuration: the model the summarization and composer blocks use, plus the reasoning effort and temperature applied when the model supports them.
func (LLMSettings) TableName ¶ added in v0.7.0
func (LLMSettings) TableName() string
TableName is the llm_settings table.
type SyncState ¶
SyncState records the last synced unix timestamp per (owner, repo) so the incremental sync only fetches events newer than the last run.
type Template ¶
type Template struct {
ID string
Name string
Description string
Form string
Transform string
Layout string
Exports string
Model string
Builtin bool
CreatedTS int64
}
Template is a persisted programmatic template. Form / Transform / Layout / Exports hold the JSON-encoded sub-structures of template.Template.