File tree Expand file tree Collapse file tree
docs-website/reference/haystack-api Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1060,6 +1060,8 @@ __init__(
10601060 table_to_single_line: bool = False ,
10611061 progress_bar: bool = True ,
10621062 store_full_path: bool = False ,
1063+ * ,
1064+ extract_frontmatter: bool = False
10631065) -> None
10641066```
10651067
@@ -1071,6 +1073,8 @@ Create a MarkdownToDocument component.
10711073- ** progress_bar** (<code >bool</code >) – If True shows a progress bar when running.
10721074- ** store_full_path** (<code >bool</code >) – If True, the full path of the file is stored in the metadata of the document.
10731075 If False, only the file name is stored.
1076+ - ** extract_frontmatter** (<code >bool</code >) – If True, YAML frontmatter at the beginning of the Markdown file is
1077+ removed from the document content and added to the document metadata.
10741078
10751079#### run
10761080
You can’t perform that action at this time.
0 commit comments