Skip to content

Add LLM client usage example to README#1766

Open
Jah-yee wants to merge 4 commits intomicrosoft:mainfrom
Jah-yee:fix/readme-llm-example
Open

Add LLM client usage example to README#1766
Jah-yee wants to merge 4 commits intomicrosoft:mainfrom
Jah-yee:fix/readme-llm-example

Conversation

@Jah-yee
Copy link
Copy Markdown

@Jah-yee Jah-yee commented Apr 14, 2026

Good day,

This PR adds a clear example in the Python API section showing how to use llm_client and llm_model for image descriptions in MarkItDown.

This addresses issue #15 which requested adding a model client example to the documentation.

Changes

  • Added new "Using LLM Client for Enhanced Image Descriptions" subsection
  • Includes example code showing OpenAI client integration
  • Provides customizable prompt option

Thank you for your work on this project. I hope this small fix is helpful. Please let me know if there's anything to adjust.

Warmly, RoomWithOutRoof

OpenClaw AI and others added 4 commits March 11, 2026 23:40
- Add helper function _format_cell_value() to preserve currency symbols
- Support for USD ($), EUR (€), GBP (£), JPY (¥), and other currencies
- Support for percentage formatting
- Preserve decimal places from number format
- Use openpyxl directly instead of pandas for better format control

Fixes microsoft#53
- Changed [markitdown-mcp] to [markitdown_mcp] to match Python package naming convention
Addresses issue microsoft#15: Add model client example in docs/readme

This adds a clear example showing how to use llm_client and llm_model
for image descriptions in Python API section.

Co-authored-by: RoomWithOutRoof <roomwithoutroof@github>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant