{"id":22529123,"url":"https://github.com/corani/go-semantic-splitter","last_synced_at":"2025-07-24T01:03:53.609Z","repository":{"id":263942524,"uuid":"855080777","full_name":"corani/go-semantic-splitter","owner":"corani","description":null,"archived":false,"fork":false,"pushed_at":"2024-09-10T09:32:27.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-28T04:43:08.283Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/corani.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-09-10T09:17:26.000Z","updated_at":"2024-09-10T09:32:30.000Z","dependencies_parsed_at":"2024-11-21T05:36:17.842Z","dependency_job_id":"108c0bcb-34e0-43fc-8394-e09cd8460988","html_url":"https://github.com/corani/go-semantic-splitter","commit_stats":null,"previous_names":["corani/go-semantic-splitter"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/corani/go-semantic-splitter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/corani%2Fgo-semantic-splitter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/corani%2Fgo-semantic-splitter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/corani%2Fgo-semantic-splitter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/corani%2Fgo-semantic-splitter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/corani","download_url":"https://codeload.github.com/corani/go-semantic-splitter/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/corani%2Fgo-semantic-splitter/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266775354,"owners_count":23982273,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-23T02:00:09.312Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-07T07:13:45.986Z","updated_at":"2025-07-24T01:03:53.572Z","avatar_url":"https://github.com/corani.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# go-semantic-splitter\n\nThis is a Go implementation of the rolling window semantic splitter algorithm. The algorithm splits\na document into sentences then calculates an embedding vector for each of them. It calculates the\nsimilarity between each sentence and the mean of the preceding window (of size 5), then uses this\ninformation to do the final chunking. This takes into account the semantic similarity and the\nmin/max chunk size.\n\n## Usage\n\n```bash\n./build.sh\n./bin/splitter \u003cinput-file\u003e\n```\n\n## Resources\n\n- [aurelio-labs/semantic-router](https://github.com/aurelio-labs/semantic-router/blob/main/semantic_router/splitters/rolling_window.py)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcorani%2Fgo-semantic-splitter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcorani%2Fgo-semantic-splitter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcorani%2Fgo-semantic-splitter/lists"}