langchain_aws.utilities.utils
.filter_complex_metadata¶
- langchain_aws.utilities.utils.filter_complex_metadata(documents: ~typing.List[~langchain_core.documents.base.Document], *, allowed_types: ~typing.Tuple[~typing.Type, ...] = (<class 'str'>, <class 'bool'>, <class 'int'>, <class 'float'>)) List[Document] [source]¶
过滤出向量化存储不支持的数据类型。