Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
LangChain-Community - AzureCosmos Mongo vCore: Bug Fix when the data …
…doesn't contain metadata field (#27772) Thank you for contributing to LangChain! - **Description:** Adding an empty metadata field when metadata is not present in the data - **Issue:** This PR fixes the issue when the data items doesn't contain the metadata field. This happens when there is already data in the container, or cx uses CosmosDB Python SDK to insert data. - **Dependencies:** No dependencies required Additional guidelines: - Make sure optional dependencies are imported within a function. - Please do not add dependencies to pyproject.toml files (even optional ones) unless they are required for unit tests. - Most PRs should not touch more than one package. - Changes should be backwards compatible. - If you are adding something to community, do not re-import it in langchain. If no one reviews your PR within a few days, please @-mention one of baskaryan, efriis, eyurtsev, ccurme, vbarda, hwchase17.
- Loading branch information