Skip to content

v25.5.0

Compare
Choose a tag to compare
@muhammadumargroupdocs muhammadumargroupdocs released this 21 May 12:02
· 2 commits to main since this release
54db5f6

New Features

  • Added support for multiple LLM providers (OpenAI and Claude).
  • Introduced --llm CLI flag to select LLM provider.
  • Applied Strategy Pattern for LLM integration (extensible design).
  • Refactored code to support clean API/CLI usage with insert_into_llm and llm_provider options.

Example: CLI Usage

markitdown document.docx --output-dir ./markdowns --llm claude

Example: Convert an Entire Folder via API

from openize.markitdown.core import MarkItDown

converter = MarkItDown(output_dir="./markdowns")
converter.convert_document("document.docx", insert_into_llm=True, llm_provider="claude")