Skip to content

Knowledge base file ingestion: the initial chunk settings are not properly set #13884

Description

@garylavayou

Bug Description

When create a knowledge base, the default values for chunking settings are not properly set or displayed. Specifically, the chunk size is set to 100, and the chunk overlap is 0.

But after create the knowledge base and refresh the page, and try ingest files again, the default value for chunk size is set to 1000, and the chunk overlap is 200. If not refresh the page, the parameters are still the same as that in the knowledge base creation dialogue.

Reproduction

  1. click "Add Knowledge" button to create a knowledge base.
  2. see the chunk settings.
  3. save the knowledge base without adding any files.
  4. refresh the page.
  5. click "Ingest Files" button for the created knowledge base.
  6. see the chunk settings.

Expected behavior

In the knowledge base create page, chunk size should be set to 1000, and the chunk overlap is 200.

Who can help?

@Cristhianzl @lucaseduoli @igorrCarvalho

Operating System

Debian 13.5 in Docker

Langflow Version

1.10.1

Python Version

No response

Screenshot

Image

Flow File

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingjiraThis issue has been logged in Jira for fix by the engineering team.

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions