在 LlamaIndex 中使用百炼 JSON 节点解析器
DashScopeJsonNodeParser 用于解析 JSON 格式的文档数据,将其转换为 LlamaIndex 节点。
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
在 LlamaIndex 中使用百炼 JSON 节点解析器
from llama_index.indices.managed.dashscope import DashScopeJsonNodeParser
parser = DashScopeJsonNodeParser()
nodes = parser.get_nodes_from_documents(documents)