Versions in this module Expand all Collapse all v2 v2.0.13 Jul 26, 2026 Changes in this version + type Config struct + APIKey string + BaseURL string + Model string + Timeout time.Duration + type EntitySchema struct + Description string + Properties map[string]SchemaProperty + Required []string + Type string + func LoadEntitySchema(path string) (EntitySchema, error) + func LoadEntitySchemasFromDir(dir string) ([]EntitySchema, error) + type Refiller interface + Refill func(ctx context.Context, result chunker.ChunkResult, schemas []EntitySchema) (chunker.ChunkResult, error) + func NewRefiller(cfg Config, logger logging.Logger) (Refiller, error) + type SchemaProperty struct + Description string + Enum []string + Format string + Items *SchemaProperty + Type string + type Summarizer interface + Summarize func(ctx context.Context, chunks []core.Chunk) ([]core.Chunk, error) + func NewSummarizer(cfg Config, logger logging.Logger) (Summarizer, error) + type UsageRecorder func(ctx context.Context, model string, usage *chat.Usage, label string) Other modules containing this package github.com/DotNetAge/gorag