Luke
66e30efa61
experimental: Fix divide by 0 error ( #25439 )
...
Within the semantic chunker, when calling `_threshold_from_clusters`
there is the possibility for a divide by 0 error if the
`number_of_chunks` is equal to the length of `distances`.
Fix simply implements a check if these values match to prevent the error
and enable chunking to continue.
2024-08-15 14:46:30 +00:00
..
2024-08-02 19:54:54 -07:00
2024-08-14 07:00:17 -07:00
2024-07-03 10:33:27 -07:00
2024-07-03 10:33:27 -07:00
2024-07-03 10:33:27 -07:00
2024-07-03 10:33:27 -07:00
2024-07-03 10:33:27 -07:00
2024-08-08 19:05:54 +00:00
2024-08-05 21:01:27 +00:00
2024-08-08 19:05:54 +00:00
2024-08-08 19:05:54 +00:00
2024-08-14 09:50:39 -04:00
2024-08-08 15:10:11 -04:00
2023-11-13 17:42:07 -08:00
2024-08-08 19:05:54 +00:00
2024-08-14 07:00:17 -07:00
2024-08-14 07:00:17 -07:00
2024-07-03 10:33:27 -07:00
2023-08-22 14:09:35 -04:00
2024-07-03 10:33:27 -07:00
2024-04-12 20:13:14 +00:00
2024-08-14 17:09:43 +00:00
2024-08-08 19:05:54 +00:00
2024-08-08 19:05:54 +00:00
2024-07-03 10:33:27 -07:00
2024-08-02 19:54:54 -07:00
2024-08-14 07:00:17 -07:00
2024-08-08 19:05:54 +00:00
2024-07-03 10:33:27 -07:00
2024-08-08 19:05:54 +00:00
2023-10-10 11:17:41 -04:00
2023-08-21 15:37:16 -04:00
2024-08-15 14:46:30 +00:00