langchain/libs/core/tests/unit_tests/documents
Eugene Yurtsev e800f6bb57
core[minor]: Create BaseMedia object (#23639)
This PR implements a BaseContent object from which Document and Blob
objects will inherit proposed here:
https://github.com/langchain-ai/langchain/pull/23544

Alternative: Create a base object that only has an identifier and no
metadata.

For now decided against it, since that refactor can be done at a later
time. It also feels a bit odd since our IDs are optional at the moment.

---------

Co-authored-by: Erick Friis <erick@langchain.dev>
2024-07-01 15:07:30 -04:00
..
__init__.py REFACTOR: combine core documents files (#13733) 2023-11-22 10:10:26 -08:00
test_imports.py core[minor]: move document compressor base (#17910) 2024-02-26 17:20:50 -08:00
test_str.py core[minor]: Create BaseMedia object (#23639) 2024-07-01 15:07:30 -04:00