MCPcopy Index your code
hub / github.com/InferCore/InferCore / FileKB

Struct FileKB

internal/retrieval/filekb.go:17–21  ·  view source on GitHub ↗

FileKB is a simple file-backed knowledge base: loads text from .md and .txt under root.

Source from the content-addressed store, hash-verified

15
16// FileKB is a simple file-backed knowledge base: loads text from .md and .txt under root.
17type FileKB struct {
18 name string
19 root string
20 docs []docChunk
21}
22
23type docChunk struct {
24 text string

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected