Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update text splitter #3020

Merged
merged 1 commit into from
Oct 29, 2024
Merged

update text splitter #3020

merged 1 commit into from
Oct 29, 2024

Conversation

c121914yu
Copy link
Collaborator

No description provided.

Copy link

sweep-ai bot commented Oct 29, 2024

Hey @c121914yu, here is an example of how you can ask me to improve this pull request:

@Sweep Add unit tests for the `commonSplit` function in `textSplitter.ts` to verify the new markdown splitting behavior, particularly testing:
- Splitting with different header levels (#, ##, ###, ####)
- Behavior with the new maxLen multipliers (1.2, 1.4, 1.6, 1.8)
- Cases where forbidConcat is true vs false
- Edge cases with very small chunks and the new minimum chunk size logic

📖 For more information on how to use Sweep, please read our documentation.

@c121914yu
Copy link
Collaborator Author

🤖 Generated by deploy action

👀 Visit Preview

@c121914yu c121914yu merged commit 8e4084f into labring:main Oct 29, 2024
5 checks passed
shilin66 pushed a commit to shilin66/FastGPT that referenced this pull request Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant