Dec 29, 2024
but you must using instance of any model from llm with it ( from markitdown import MarkItDown
from openai import OpenAI
client = OpenAI()
md = MarkItDown(llm_client=client, llm_model="gpt-4o")
and convert any image to markdown ( result = markitdown.convert("image.jpg")
print(result.text_content)