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

fix: Hard split for max token size #249

Merged
merged 2 commits into from
Apr 17, 2024
Merged

fix: Hard split for max token size #249

merged 2 commits into from
Apr 17, 2024

Conversation

simjak
Copy link
Member

@simjak simjak commented Apr 17, 2024

It was missing the check for max_split_tokens for the current + next block of text

@simjak simjak added the bug Something isn't working label Apr 17, 2024
@simjak simjak requested a review from jamescalam April 17, 2024 06:18
@simjak simjak self-assigned this Apr 17, 2024
Copy link

Failed to generate code suggestions for PR

Copy link

codecov bot commented Apr 17, 2024

Codecov Report

Attention: Patch coverage is 0% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 80.41%. Comparing base (6cf5522) to head (86bea98).

Files Patch % Lines
semantic_router/splitters/rolling_window.py 0.00% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #249   +/-   ##
=======================================
  Coverage   80.41%   80.41%           
=======================================
  Files          44       44           
  Lines        2354     2354           
=======================================
  Hits         1893     1893           
  Misses        461      461           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@jamescalam jamescalam merged commit 7f0909e into main Apr 17, 2024
7 of 8 checks passed
@jamescalam jamescalam deleted the simonas/splitter branch April 17, 2024 06:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants