RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.
Go agent-harnessagent-native-databaseagentic-aiagentic-retrievalagentic-searchaiai-agentscontext-enginecontext-engineeringcontext-managementharness-engineeringknowledge-compilationragretrieval-augmented-generationretrieval-harnesssearch-harness
Feat: add more attribute for confluence connector. (#11743)
Magicbook1108e2bc1a3478fd
diff --git a/rag/svr/sync_data_source.py b/rag/svr/sync_data_source.pyindex fbe3722d5f..525a8bb109 100644--- a/rag/svr/sync_data_source.py+++ b/rag/svr/sync_data_source.py@@ -157,11 +157,16 @@ class Confluence(SyncBase):from common.data_source.config import DocumentSourcefrom common.data_source.interfaces import StaticCredentialsProvider+ space = (self.conf.get("space") or "").strip()+ page_id = (self.conf.get("page_id") or "").strip()+ index_recursively = bool(self.conf.get("index_recursively", False))+self.connector = ConfluenceConnector(wiki_base=self.conf["wiki_base"],- space=self.conf.get("space", ""),is_cloud=self.conf.get("is_cloud", True),- # page_id=self.conf.get("page_id", ""),+ space=space,+ page_id=page_id,+ index_recursively=index_recursively,)credentials_provider = StaticCredentialsProvider(tenant_id=task["tenant_id"], connector_name=DocumentSource.CONFLUENCE, credential_json=self.conf["credentials"])diff --git a/web/src/pages/user-setting/data-source/contant.tsx b/web/src/pages/user-setting/data-source/contant.tsxindex db23927116..55f94072db 100644--- a/web/src/pages/user-setting/data-source/contant.tsx+++ b/web/src/pages/user-setting/data-source/contant.tsx@@ -235,7 +235,18 @@ export const DataSourceFormFields = {name: 'config.space',type: FormFieldType.Text,required: false,- tooltip: t('setting.confluenceSpaceKeyTip'),+ },+ {+ label: 'Page ID',+ name: 'config.page_id',+ type: FormFieldType.Text,+ required: false,+ },+ {+ label: 'Index Recursively',+ name: 'config.index_recursively',+ type: FormFieldType.Checkbox,+ required: false,},],[DataSourceKey.GOOGLE_DRIVE]: [