CharacterTextSplitter seems to always include embedded column as meta_data #25030
Replies: 1 comment
-
It is expected behavior for the lines_with_metadata.append(
{
"content": "\n".join(current_content),
"metadata": current_metadata.copy(),
}
) This behavior ensures that each piece of text is paired with its corresponding metadata [1]. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Checked other resources
Commit to Help
Example Code
Output:
Description
CharacterTextSplitter
seems to automatically include texts (page_content) in metadata. Is this expected or a bug?System Info
Beta Was this translation helpful? Give feedback.
All reactions