HTMLNodeParser
定义于:.build/typescript/packages/node-parser/src/html/index.ts:13
NodeParser
HTML节点解析器<
Options>(nodes,options?):TextNode<Metadata>[] |Promise<TextNode<Metadata>[]>
定义于:.build/typescript/packages/node-parser/src/html/index.ts:13
Options extends Record<string, unknown>
BaseNode<Metadata>[]
Options
TextNode<Metadata>[] | Promise<TextNode<Metadata>[]>
new HTMLNodeParser(
params?):HTMLNodeParser
定义于:.build/typescript/packages/node-parser/src/html/index.ts:16
HTMLNodeParser
NodeParser.constructor
htmlToTextOptions
Section titled “htmlToTextOptions”
readonlyhtmlToTextOptions:undefined|HtmlToTextOptions=undefined
定义于:.build/typescript/packages/node-parser/src/html/index.ts:14
parseNodes()
Section titled “parseNodes()”
protectedparseNodes(documents):TextNode<Metadata>[]
定义于:.build/typescript/packages/node-parser/src/html/index.ts:23
TextNode<Metadata>[]
TextNode<Metadata>[]
NodeParser.parseNodes