mirror of
https://github.com/langgenius/dify-official-plugins.git
synced 2026-07-21 17:45:23 -04:00
Azure Model plugin does not support files such as PDFs. #919
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @dimsky on GitHub (Jan 6, 2026).
Self Checks
Dify version
1.11.1
Plugin version
latest
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
Current models such as Claude, GPT, and Gemini natively support the parsing of PDF and other files, so I don't need to go through any other steps for parsing.
✔️ Error log
No response
@dosubot[bot] commented on GitHub (Jan 6, 2026):
This is a known limitation: the Azure Model plugin in Dify does not support direct file inputs like PDFs. The plugin only handles text and image content in prompt messages—there’s no code to parse or upload PDF or other document files as input. If you pass a file variable (such as a PDF) directly to an LLM node, you’ll get an error because the node expects plain text, not a file object.
The officially supported workflow is to add a Document Extractor node to your pipeline: upload your PDF, extract the text, and then pass that text to the LLM node. Only the extracted text will be processed; image-based or scanned PDFs are not supported (no OCR is performed) — for those, you’ll need to run OCR externally before uploading the file reference.
Direct file input (beyond images) is not supported in agent applications or vision mode, and multimodal/file support for agent nodes is planned but not available yet. If you need direct PDF/file support, you’ll need to preprocess files into text or use a model/plugin that advertises native document support reference.
Let me know if you want guidance on alternative workflows or custom integrations.
To reply, just mention @dosu.
How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other