Learn how to use Markdown files in your knowledge base.
knowledge_base
with an Agent:
Parameter | Type | Default | Description |
---|---|---|---|
path | Union[str, Path] | - | Path to md files. Can point to a single md file or a directory of md files. |
formats | List[str] | [".md"] | Formats accepted by this knowledge base. |
reader | MarkdownReader | MarkdownReader() | A MarkdownReader that converts the md files into Documents for the vector database. |
MarkdownKnowledgeBase
is a subclass of the AgentKnowledge class and has access to the same params.