Skip to content

RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.

Set default Paddle OCR URL (#16128)

Wang Qib3ac03b96cdf
diff --git a/conf/llm_factories.json b/conf/llm_factories.json
index bd83fce3c1..39a126b995 100644
--- a/conf/llm_factories.json
+++ b/conf/llm_factories.json
@@ -6728,6 +6728,7 @@
"logo": "",
"tags": "OCR",
"status": "1",
+ "url": "https://paddleocr.aistudio-app.com",
"llm": []
},
{
diff --git a/web/src/pages/user-setting/setting-model/modal/provider-modal/field-config/provider-config-map.ts b/web/src/pages/user-setting/setting-model/modal/provider-modal/field-config/provider-config-map.ts
index f4455b98f8..629ada01de 100644
--- a/web/src/pages/user-setting/setting-model/modal/provider-modal/field-config/provider-config-map.ts
+++ b/web/src/pages/user-setting/setting-model/modal/provider-modal/field-config/provider-config-map.ts
@@ -725,7 +725,7 @@ export const ProviderConfigMap: Record<string, ProviderConfig> = {
{
name: 'paddleocr_api_url',
label: 'paddleocrApiUrl',
- type: FormFieldType.Text,
+ type: 'inputSelect',
required: true,
placeholder: 'paddleocrApiUrlPlaceholder',
validation: { message: 'paddleocrApiUrlMessage' },