You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The chunk function in the FixedSizeChunking class is running into an infinite loop when used specifically when change the overlap value other than zero.
Steps to Reproduce
Import FixedSizeChunking Class in your code and use the chunk function and try setting the overlap size to some value other than zero . Now run the code you will observe it runs into an infinite loop.
Expected Behavior
It was supposed to return the List of Documents which contains the result of fixed chunking .
Actual Behavior
It went into a never ending loop and no output of List of Documents was received.
Description
The chunk function in the FixedSizeChunking class is running into an infinite loop when used specifically when change the overlap value other than zero.
Steps to Reproduce
Import FixedSizeChunking Class in your code and use the chunk function and try setting the overlap size to some value other than zero . Now run the code you will observe it runs into an infinite loop.
Expected Behavior
It was supposed to return the List of Documents which contains the result of fixed chunking .
Actual Behavior
It went into a never ending loop and no output of List of Documents was received.
Environment
Possible Solutions (optional)
In fixed.py where inside the FixedChunking Class there is chunk function there replace the first while loop condition:-
(Line No. 27)
The text was updated successfully, but these errors were encountered: