dosubot[bot]
dosubot[bot]
The reason settings.FACTORY_LLM_INFOS is an empty array in your Kubernetes deployment is that RAGFlow loads this setting from the conf/llm_factories.json file at startup. In Helm/Kubernetes, this file is generated from...
Adding a model in the UI only saves it in the database for your tenant, but in Kubernetes/Helm deployments, RAGFlow also needs to know about the model provider and available...
RAGFlow chat sessions created via the API do not have a built-in expiration or automatic timeout—they persist in the database until you explicitly delete them using the API or SDK....
Hi @Engine55! I'm [Dosu](https://go.dosu.dev/dosubot) and I’m helping the MinerU team. 这是 MinerU pipeline 模式的已知限制:当前不会识别或提取 PDF 中的加粗/斜体样式,所有 Markdown 特殊字符(包括 `*`)都会被无条件转义,导致无法输出 `**加粗**` 或 `*斜体*` 的 Markdown 语法。这是因为 pipeline 只处理纯文本内容,既不检测字体样式,也不会在导出 Markdown 时根据样式插入格式标记,而是直接对所有相关字符加转义,防止误触发 Markdown...
Hi @Jackwew! I'm [Dosu](https://go.dosu.dev/dosubot) and I’m helping the pro-components team. pro-components 里的 ProFormCascader 组件没有直接使用已废弃的 `onDropdownVisibleChange`,而是通过 FieldCascader 组件使用了新的 `onOpenChange` 属性,已经与 antd 的最新 API 保持同步了。代码层面没有发现相关的遗留用法,也没有相关的 issue 或 PR 正在跟进这个问题。如果你依然看到这个警告,可能是你的项目依赖中有旧版本的代码或第三方库间接使用了该属性,可以检查下依赖版本或自定义代码中是否有相关用法。[参考实现](https://github.com/ant-design/pro-components/blob/9fb9a1efad5a51776d6e24e8838a8753a375c908/src/field/components/Cascader/index.tsx) *To reply, just...
你遇到的问题是 ProFormField 的 transform 没有生效,onFinish 里拿到的还是原始值。这其实是 ProForm 的已知限制,尤其是在自定义 renderFormItem(比如你用的 SelectInput)时,transform 很可能不会被触发,导致 onFinish 拿到的不是 transform 处理后的值,而是原始值。这是因为自定义渲染会绕过 ProFormField 的内部值处理逻辑,transform 只有在表单值经过 ProFormField 的标准管道时才会生效。 官方文档说明 transform 应该在提交时转换表单值,但社区有大量反馈,像自定义组件、ProFormList、initialValue 等场景下 transform 经常失效,维护者建议用 onValuesChange 或在 onFinish 里手动处理数据作为...
你遇到的 TS 类型找不到问题,是因为 ProForm.ItemProps 和 ProForm.GroupProps 这两个类型并没有被导出。实际上,ProForm.Item 和 ProForm.Group 是作为静态属性挂载在 ProForm 上的,但它们的 props 类型分别叫做 ProFormItemProps 和 ProFormGroupProps(有时也叫 GroupProps),需要单独导入,而不是通过 ProForm.ItemProps 或 ProForm.GroupProps 获取类型。 正确的用法如下: ```ts import type { ProFormItemProps, ProFormGroupProps }...
Hi @mylhei! I'm [Dosu](https://go.dosu.dev/dosubot) and I’m helping the pro-components team. 这个问题的核心原因是:在自定义 `renderFormItem` 时,如果直接返回 `defaultRender`,但没有把 `config.fieldProps`(包含 `mode: 'multiple'`)正确传递给 `defaultRender`,Select 组件就不会以多选模式渲染,甚至可能渲染不出来。 正确做法是:在 `renderFormItem` 里调用 `defaultRender` 时,确保把 `fieldProps` 合并进去。例如: ```js renderFormItem: (item, config,...
你的情况确实比较特殊,代码和源码分析显示:只要 fieldProps(包含 mode: 'multiple')正确合并并传递,Select 理论上应该能正常渲染多选模式。如果还是渲染不出来,建议你重点排查以下几个点: 1. **value 必须是数组**:antd 的 Select 组件在多选模式下,value 必须是数组,否则不会渲染(甚至会报错)[源码参考](https://github.com/ant-design/pro-components/blob/70c7340aec9f996e5f85be20ac4033fb08b8297c/src/field/components/Select/index.tsx)。 2. **options 或 valueEnum 是否有值**:如果 options/valueEnum 为空,Select 也可能不显示内容。 3. **renderFormItem 返回值**:必须返回有效的 React 元素,不能返回 null/undefined/false,否则表单项不会渲染 [源码参考](https://github.com/ant-design/pro-components/blob/70c7340aec9f996e5f85be20ac4033fb08b8297c/src/form/components/SchemaForm/valueType/field.tsx)。 4. **fieldProps 合并方式**:确保你在...
RagFlow's "Tag" labeling system currently does not support direct tag-based filtering in queries via the API. Tags are mainly used internally for chunking, aggregation, and reranking, not as a filter...