Skip to content

Commit

Permalink
Update docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
daavoo committed Jan 3, 2025
1 parent b499899 commit abeb681
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/structured_qa/preprocessing.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ def document_to_sections_dir(input_file: str, output_dir: str) -> list[str]:
"""
Convert a document to a directory of sections.
Uses [pymupdf4llm](https://ds4sd.github.io/docling/) to convert input_file to markdown.
Then uses [langchain_text_splitters] to split the markdown into sections based on the headers.
Uses [pymupdf4llm](https://pypi.org/project/pymupdf4llm/) to convert input_file to markdown.
Then uses [langchain_text_splitters](https://pypi.org/project/langchain-text-splitters/) to split the markdown into sections based on the headers.
Args:
input_file: Path to the input document.
Expand Down

0 comments on commit abeb681

Please sign in to comment.