Skip to content

Conversation

dudanogueira
Copy link
Contributor

This will avoid errors when property has special characters, eg pdf metadata having, for example author:something

Before this patch, it will fail for some documents, as it will produce a property name as author:something which is not allowed.

Added tests

Copy link

vercel bot commented Aug 18, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
langchainjs-docs Ready Ready Preview Aug 18, 2025 0:07am
1 Skipped Deployment
Project Deployment Preview Comments Updated (UTC)
langchainjs-api-refs Ignored Ignored Aug 18, 2025 0:07am

@hntrl hntrl changed the title (weaviate) Make flattenObjectForWeaviate more resilient fix(weaviate): Make flattenObjectForWeaviate more resilient Aug 18, 2025
@hntrl hntrl merged commit 9018dff into langchain-ai:main Aug 18, 2025
25 checks passed
@dudanogueira dudanogueira deleted the weaviate-resilient-flattener branch August 18, 2025 18:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants