Set default Paddle OCR URL by wangq8 · Pull Request #16128 · infiniflow/ragflow (original) (raw)
Caution
Review failed
The pull request is closed.
ℹ️ Recent review info ⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: 32c2c582-34dc-4854-8c14-d4d143644244
📥 Commits
Reviewing files that changed from the base of the PR and between 486b28c and cb52ede.
📒 Files selected for processing (2)
conf/llm_factories.jsonweb/src/pages/user-setting/setting-model/modal/provider-modal/field-config/provider-config-map.ts
📝 Walkthrough
Walkthrough
Adds a url field (https://paddleocr.aistudio-app.com) to the PaddleOCR entry in conf/llm_factories.json, and changes the paddleocr_api_url form field type from FormFieldType.Text to 'inputSelect' in the frontend provider config map.
Changes
PaddleOCR Provider URL and Form Field Update
| Layer / File(s) | Summary |
|---|---|
| PaddleOCR URL and form field type conf/llm_factories.json, web/src/pages/user-setting/setting-model/modal/provider-modal/field-config/provider-config-map.ts | Adds url: "https://paddleocr.aistudio-app.com" to the PaddleOCR provider object, and switches the paddleocr_api_url field's type from FormFieldType.Text to 'inputSelect'. |
Estimated code review effort
🎯 1 (Trivial) | ⏱️ ~3 minutes
Poem
🐇 A URL hops into place,
The PaddleOCR finds its space.
A text box shifts to select with care,
One small tweak beyond compare.
The bunny approves with a happy stare! 🌟
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
❤️ Share
Comment @coderabbitai help to get the list of available commands and usage tips.