Commit Graph

10 Commits (da56bd7b54006815382e5145b5738425fb33a826)

Author SHA1 Message Date
William Buck f86eaea9ca remove duplicate import of `distances_from_embeddings` 2 years ago
Ted Sanders dfc4374fae Merge pull request #146 from hunkim/patch-1
Add handling for last chunk in split_into_sentences function
2 years ago
isafulf d2367e99b4 Update start 2 years ago
JJ 312be1f994 Changed "the the endpoint" to "to the endpoint"
Line 14 -> I think it should be "call made to the endpoint" instead of "call made the the endpoint"
2 years ago
Sung Kim 58b63dfb0e Add handling for last chunk in split_into_sentences function
I have added handling for the last chunk in the split_into_sentences function. Previously, the function did not account for the last chunk, which could lead to incomplete sentences in the output.

To solve this, I added a conditional statement to check if the last chunk is non-empty. If it is, I append it to the list of chunks with a period to ensure the last sentence is complete.

This change improves the accuracy of the split_into_sentences function and ensures that all sentences in the input text are properly segmented. Please review and let me know if you have any feedback or concerns.
2 years ago
Logan Kilpatrick e030442a09 Add comment on where to learn about rate limits 2 years ago
Daniel Zhukovsky 215f15795d Redefinition of unused 'pd' 2 years ago
isafulf f453d0154a rename web crawl q and a 2 years ago
isafulf b844afc6d6 File Q and A app 2 years ago
isafulf 3973c85840 solution --> apps 2 years ago