"\n\n"), with chunk length measured by the number of characters.
关键要点:
- 如何分割文本:按给定的字符分隔符。
- 如何衡量分块大小:按字符数。
.split_text— returns plain string chunks..create_documents— returns LangChain Document objects, useful when metadata needs to be preserved for downstream tasks.
.create_documents to propagate metadata associated with each document to the output chunks:
.split_text to obtain the string content directly:
通过 MCP 将这些文档连接到 Claude、VSCode 等工具以获取实时答案。

