langchain/libs
Chip Davis 806d4ae48f
community[patch]: fixed multithreading returning List[List[Documents]] instead of List[Documents] (#20230)
Description: When multithreading is set to True and using the
DirectoryLoader, there was a bug that caused the return type to be a
double nested list. This resulted in other places upstream not being
able to utilize the from_documents method as it was no longer a
`List[Documents]` it was a `List[List[Documents]]`. The change made was
to just loop through the `future.result()` and yield every item.
Issue: #20093
Dependencies: N/A
Twitter handle: N/A
2024-04-09 17:06:37 -04:00
..
cli cli[minor]: Add disable sockets in unit tests (#19877) 2024-04-03 17:17:50 -04:00
community community[patch]: fixed multithreading returning List[List[Documents]] instead of List[Documents] (#20230) 2024-04-09 17:06:37 -04:00
core core[minor]: Implement aformat_messages for _StringImageMessagePromptTemplate (#20036) 2024-04-09 15:59:39 -04:00
experimental core[patch]: remove requests (#19891) 2024-04-02 20:28:10 +00:00
langchain langchain[patch]: Update unit test (#20228) 2024-04-09 16:44:23 -04:00
partners standard-tests: a standard unit and integration test set (#20182) 2024-04-09 12:43:00 -07:00
standard-tests standard-tests: a standard unit and integration test set (#20182) 2024-04-09 12:43:00 -07:00
text-splitters text-splitters[minor]: Adding a new section aware splitter to langchain (#16526) 2024-04-01 20:32:26 +00:00