v25.5.0
·
2 commits
to main
since this release
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")