How cchidalgog/interpretation_images works
Project type and purpose
• This is a lightweight Python “open-source tool” or CLI utility that takes image inputs and uses multiple LLM providers (AWS Bedrock Claude, OpenAI GPT-3.5/GPT-4, plus LlamaIndex integrations) to generate text descriptions of those images.
• It is not a full-stack web app but rather a small command-line or script-driven pipeline with pluggable provider backends.
File structure
• Top-level:
• README.md – project overview and usage
• pyproject.toml – Poetry config and dependencies
• data/ – sample documents, not part of runtime
• experiments/ – contains the two main scripts
• experiments/direct_llm.py:
• Entry-point script showing direct calls to each LLM client.
• experiments/markitdown_test.py:
• Entry-point script using the MarkItDown library for image processing before invoking LLMs.
• No “src” directory – the logic is embedded within the experiment scripts (you may later refactor into a providers/ or lib/ package for cleaner layering).
Insights from the README
• Lists supported providers and key features: image↔base64 handling, error management, multi-provider abstraction.