Documentation
¶
Overview ¶
Package docs is the project's reference library: the files a person would hand a new engineer, made available to the fleet.
brain.Extract and brain.IngestDocument already turned a file into memories an agent could quote. Nothing stored a file, so nothing ever called them — the extraction work shipped as a library with no caller, which is the same as not shipping. This package is the half that was missing: upload, store, ingest, list, re-ingest, delete.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Ingester ¶
type Ingester interface {
IngestDocument(ctx context.Context, ns string, d brain.Document, opts brain.ChunkOptions) (brain.IngestResult, error)
ProjectNamespaceFor(ctx context.Context) string
ForgetDocument(ctx context.Context, ns, name string) (int, error)
}
Ingester is the brain, narrowed to the two calls this package makes. *brain.Store satisfies it.
Click to show internal directories.
Click to hide internal directories.