René's URL Explorer Experiment


Title: refactor(chunker): replace chonkie with custom TextChunker by adiologydev · Pull Request #479 · simstudioai/sim · GitHub

Open Graph Title: refactor(chunker): replace chonkie with custom TextChunker by adiologydev · Pull Request #479 · simstudioai/sim

X Title: refactor(chunker): replace chonkie with custom TextChunker by adiologydev · Pull Request #479 · simstudioai/sim

Description: Description Replaces chonkie with a custom chunker. Also solves ARM image not building due to lack of libraries for onnx dependencies on chonkie. Type of change Please delete options that are not relevant. Bug fix (non-breaking change which fixes an issue) Code refactoring (no functional changes) How Has This Been Tested? Locally, the chunking works. Example of a chunk Checklist: My code follows the style guidelines of this project I have performed a self-review of my own code I have commented my code, particularly in hard-to-understand areas I have added tests that prove my fix is effective or that my feature works All tests pass locally and in CI (bun run test) My changes generate no new warnings Any dependent changes have been merged and published in downstream modules I have updated version numbers as needed (if needed) I confirm that I have read and agree to the terms outlined in the Contributor License Agreement (CLA) Security Considerations: My changes do not introduce any new security vulnerabilities I have considered the security implications of my changes Additional Information: Any additional information, configuration or data that might be necessary to reproduce the issue or use the feature.

Open Graph Description: Description Replaces chonkie with a custom chunker. Also solves ARM image not building due to lack of libraries for onnx dependencies on chonkie. Type of change Please delete options that are not r...

X Description: Description Replaces chonkie with a custom chunker. Also solves ARM image not building due to lack of libraries for onnx dependencies on chonkie. Type of change Please delete options that are not r...

Opengraph URL: https://github.com/simstudioai/sim/pull/479

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:a20a9e9d-9756-8185-bf90-5e2df316bdcc
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB82A:FB9FD:CC9CE8:1198D76:6AFB5A51
html-safe-nonce97015379a8c77c41b7eacf01cb251696e58a185a186d929d6f6c47577877ba7f
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCODJBOkZCOUZEOkNDOUNFODoxMTk4RDc2OjZBRkI1QTUxIiwidmlzaXRvcl9pZCI6IjU0NjcwNjgwNjQ3NjEzMzg0NDkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac92a270aa014e20bd3ccbe4a9b27a59c8fa3fddc3dc42cfea201b2af21f8fc56f
hovercard-subject-tagpull_request:2587422277
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/simstudioai/sim/pull/479/files
twitter:imagehttps://avatars.githubusercontent.com/u/9266227?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/9266227?s=400&v=4
og:image:altDescription Replaces chonkie with a custom chunker. Also solves ARM image not building due to lack of libraries for onnx dependencies on chonkie. Type of change Please delete options that are not r...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Noneea33d13c96d0ff66bd8fa906b193d2213536b78cb06b0c50a4632c58b1418f94
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/simstudioai/sim git https://github.com/simstudioai/sim.git
octolytics-dimension-user_id199344406
octolytics-dimension-user_loginsimstudioai
octolytics-dimension-repository_id912559512
octolytics-dimension-repository_nwosimstudioai/sim
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id912559512
octolytics-dimension-repository_network_root_nwosimstudioai/sim
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release59ef97164c52cf59bd10558ddec9c4f482763988
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/simstudioai/sim/pull/479/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F479%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F479%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=simstudioai%2Fsim
Reloadhttps://github.com/simstudioai/sim/pull/479/files
Reloadhttps://github.com/simstudioai/sim/pull/479/files
Reloadhttps://github.com/simstudioai/sim/pull/479/files
simstudioaihttps://github.com/simstudioai
simhttps://github.com/simstudioai/sim
Codehttps://github.com/simstudioai/sim
Issues129 (129)https://github.com/simstudioai/sim/issues
Pull requests197 (197)https://github.com/simstudioai/sim/pulls
Actionshttps://github.com/simstudioai/sim/actions
Projectshttps://github.com/simstudioai/sim/projects
Security and qualityhttps://github.com/simstudioai/sim/security
Insightshttps://github.com/simstudioai/sim/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fsimstudioai%2Fsim%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fsimstudioai%2Fsim%2Fissues%2Fnew%2Fchoose
emir-karabeghttps://github.com/emir-karabeg
simstudioai:mainhttps://github.com/simstudioai/sim/tree/main
adiologydev:refactor/custom-chunkerhttps://github.com/adiologydev/sim/tree/refactor/custom-chunker
Conversation 6 https://github.com/simstudioai/sim/pull/479
Commits 2 https://github.com/simstudioai/sim/pull/479/commits
Checks 0 https://github.com/simstudioai/sim/pull/479/checks
Files changed https://github.com/simstudioai/sim/pull/479/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/479/files
refactor(chunker): replace chonkie with custom TextChunker https://github.com/simstudioai/sim/pull/479/files#top
Show all changes 2 commits https://github.com/simstudioai/sim/pull/479/files
4384a92 refactor(chunker): replace chonkie with custom TextChunker implementa… adiologydev Jun 12, 2025 https://github.com/simstudioai/sim/pull/479/commits/4384a92f45e38095c8a48ac9f13008123079e80b
8d0987c chore: cleanup unimplemented types adiologydev Jun 12, 2025 https://github.com/simstudioai/sim/pull/479/commits/8d0987ca997ad32ff21fa8d37bf1eb64b5bfcf60
Clear filters https://github.com/simstudioai/sim/pull/479/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/479/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/479/files
utils.ts https://github.com/simstudioai/sim/pull/479/files#diff-f99ea65263ae54187521f6ab7f604e99a868addb01f4a7f10809e027a8ac5a4f
chunker.ts https://github.com/simstudioai/sim/pull/479/files#diff-79891f4658607fb5b14bb2dadf2d365c7356b900aa350fc29b0e4b484b68d958
document-processor.ts https://github.com/simstudioai/sim/pull/479/files#diff-9ffe431f34b16e70bb64888c5a346e5988837d634b69bfc26933bfb0b9abd54a
package.json https://github.com/simstudioai/sim/pull/479/files#diff-43a1bb37ce68ac536b0a4ed9e973d9d52da3975d74b37865f591bb37e191be64
bun.lock https://github.com/simstudioai/sim/pull/479/files#diff-bfd0ef82a01108fa1e836c2500b98b7de8a92bb1ae352a8efcbd9d6ffcaabd60
apps/sim/app/api/knowledge/utils.tshttps://github.com/simstudioai/sim/pull/479/files#diff-f99ea65263ae54187521f6ab7f604e99a868addb01f4a7f10809e027a8ac5a4f
View file https://github.com/adiologydev/sim/blob/8d0987ca997ad32ff21fa8d37bf1eb64b5bfcf60/apps/sim/app/api/knowledge/utils.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/479/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/479/files#diff-f99ea65263ae54187521f6ab7f604e99a868addb01f4a7f10809e027a8ac5a4f
https://github.com/simstudioai/sim/pull/479/files#diff-f99ea65263ae54187521f6ab7f604e99a868addb01f4a7f10809e027a8ac5a4f
https://github.com/simstudioai/sim/pull/479/files#diff-f99ea65263ae54187521f6ab7f604e99a868addb01f4a7f10809e027a8ac5a4f
https://github.com/simstudioai/sim/pull/479/files#diff-f99ea65263ae54187521f6ab7f604e99a868addb01f4a7f10809e027a8ac5a4f
https://github.com/simstudioai/sim/pull/479/files#diff-f99ea65263ae54187521f6ab7f604e99a868addb01f4a7f10809e027a8ac5a4f
https://github.com/simstudioai/sim/pull/479/files#diff-f99ea65263ae54187521f6ab7f604e99a868addb01f4a7f10809e027a8ac5a4f
apps/sim/lib/documents/chunker.tshttps://github.com/simstudioai/sim/pull/479/files#diff-79891f4658607fb5b14bb2dadf2d365c7356b900aa350fc29b0e4b484b68d958
View file https://github.com/adiologydev/sim/blob/8d0987ca997ad32ff21fa8d37bf1eb64b5bfcf60/apps/sim/lib/documents/chunker.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/479/{{ revealButtonHref }}
apps/sim/lib/documents/document-processor.tshttps://github.com/simstudioai/sim/pull/479/files#diff-9ffe431f34b16e70bb64888c5a346e5988837d634b69bfc26933bfb0b9abd54a
View file https://github.com/adiologydev/sim/blob/8d0987ca997ad32ff21fa8d37bf1eb64b5bfcf60/apps/sim/lib/documents/document-processor.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/479/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/479/files#diff-9ffe431f34b16e70bb64888c5a346e5988837d634b69bfc26933bfb0b9abd54a
https://github.com/simstudioai/sim/pull/479/files#diff-9ffe431f34b16e70bb64888c5a346e5988837d634b69bfc26933bfb0b9abd54a
https://github.com/simstudioai/sim/pull/479/files#diff-9ffe431f34b16e70bb64888c5a346e5988837d634b69bfc26933bfb0b9abd54a
https://github.com/simstudioai/sim/pull/479/files#diff-9ffe431f34b16e70bb64888c5a346e5988837d634b69bfc26933bfb0b9abd54a
https://github.com/simstudioai/sim/pull/479/files#diff-9ffe431f34b16e70bb64888c5a346e5988837d634b69bfc26933bfb0b9abd54a
https://github.com/simstudioai/sim/pull/479/files#diff-9ffe431f34b16e70bb64888c5a346e5988837d634b69bfc26933bfb0b9abd54a
https://github.com/simstudioai/sim/blob/main/.github/CODEOWNERS#L36
apps/sim/package.jsonhttps://github.com/simstudioai/sim/pull/479/files#diff-43a1bb37ce68ac536b0a4ed9e973d9d52da3975d74b37865f591bb37e191be64
View file https://github.com/adiologydev/sim/blob/8d0987ca997ad32ff21fa8d37bf1eb64b5bfcf60/apps/sim/package.json
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/479/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/479/files#diff-43a1bb37ce68ac536b0a4ed9e973d9d52da3975d74b37865f591bb37e191be64
https://github.com/simstudioai/sim/pull/479/files#diff-43a1bb37ce68ac536b0a4ed9e973d9d52da3975d74b37865f591bb37e191be64
Please reload this pagehttps://github.com/simstudioai/sim/pull/479/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.