jeevesagent.loader.text¶
Plain-text and markdown loaders.
These are the simplest cases — markdown / text files are already UTF-8 text; we just read and tag.
Functions¶
|
Load a markdown file. Just reads UTF-8 text. |
|
Load a plain-text file. Wraps content in markdown by |
Module Contents¶
- jeevesagent.loader.text.load_markdown(path: str | pathlib.Path) jeevesagent.loader.base.Document[source]¶
Load a markdown file. Just reads UTF-8 text.
- jeevesagent.loader.text.load_text(path: str | pathlib.Path) jeevesagent.loader.base.Document[source]¶
Load a plain-text file. Wraps content in markdown by adding a
# {filename}heading so downstream chunkers / consumers see consistent markdown.