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