Versions in this module Expand all Collapse all v0 v0.1.0 Aug 5, 2026 Changes in this version + const MaxQueryTerms + func BuildQuery(question string) string + type Document struct + Chunks []corpus.Chunk + CommitSHA string + ContentSHA string + Kind corpus.Kind + RepoPath string + SiteURL string + SourcePath string + Title string + type FTS struct + func NewFTS(db *store.DB) *FTS + func (f *FTS) Retrieve(ctx context.Context, question string, limit int) ([]Result, error) + type Result struct + CommitSHA string + Heading string + HeadingPath string + IndexedAt time.Time + RepoPath string + Score float64 + SourcePath string + Text string + URL string + type Retriever interface + Retrieve func(ctx context.Context, question string, limit int) ([]Result, error) + type Source struct + Path string + RepoURL string + SiteURL string + Verdict corpus.Verdict + type Writer struct + func NewWriter(db *store.DB) *Writer + func (w *Writer) PutDocument(ctx context.Context, d Document) error + func (w *Writer) PutSource(ctx context.Context, s Source) error