Add Docling Support, Pydantic JSON Validation, and Configurable LLM API URL#101
Open
mohamed-em2m wants to merge 4 commits intoVectifyAI:mainfrom
Open
Add Docling Support, Pydantic JSON Validation, and Configurable LLM API URL#101mohamed-em2m wants to merge 4 commits intoVectifyAI:mainfrom
mohamed-em2m wants to merge 4 commits intoVectifyAI:mainfrom
Conversation
|
👍 |
This was referenced Feb 11, 2026
|
Hey, I saw your implementation and it looks fantastic !! |
Thomasyyj
added a commit
to Thomasyyj/PageIndex
that referenced
this pull request
Feb 18, 2026
…tructured output Integrate new features from PR VectifyAI#101 into LiteLLM architecture: - Add PDFReader class supporting docling, PyMuPDF, and PyPDF2 parsers - Add response_format (Pydantic BaseModel) support to all LLM API functions - Add read_pdf() utility function with page/full output formats - Update extract_text_from_pdf, get_text_of_pages, get_page_tokens to use PDFReader - Add docling and pydantic to requirements.txt - Add PDF parser config options to config.yaml Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces several enhancements to improve flexibility, structure, and extensibility:
✅ Added Docling support for improved document processing and parsing.
✅ Integrated Pydantic models to ensure structured and validated JSON outputs.
✅ Added support for custom LLM API base URLs, allowing easier integration with self-hosted or alternative LLM providers.
♻️ Refactored parts of the codebase to improve clarity and maintainability.