Skip to content

SmythOS Studio: Open-Source Visual AI Agent Builder and deployable runtime stack from SmythOS. Start with an intuitive drag-and-drop workspace, extend with custom code, and deploy your agents anywhere — local, cloud, or edge — with full governance and control.

default rag indexer config

Ahmed Essamcd75f8ee4fa9
diff --git a/packages/app/src/builder-ui/components/DataSourceIndexer.class.ts b/packages/app/src/builder-ui/components/DataSourceIndexer.class.ts
index 12283471..38e23751 100644
--- a/packages/app/src/builder-ui/components/DataSourceIndexer.class.ts
+++ b/packages/app/src/builder-ui/components/DataSourceIndexer.class.ts
@@ -103,6 +103,11 @@ export class DataSourceIndexer extends Component {
if (typeof this.data[item] === 'undefined') this.data[item] = this.settings[item].value;
}
+ const chunkFields = ['chunkSize', 'chunkOverlap'];
+ for (let item of chunkFields) {
+ if (!this.data[item]) this.data[item] = this.settings[item].value;
+ }
+
this.properties.defaultInputs = ['Source'];
this.properties.defaultOutputs = ['Success'];