Node parser semantic chunking
SemanticChunkingQueryEnginePack #
Bases: BaseLlamaPack
Semantic Chunking Query Engine Pack.
Takes in a list of documents, parses it with semantic embedding chunker, and runs a query engine on the resulting chunks.
Source code in llama-index-packs/llama-index-packs-node-parser-semantic-chunking/llama_index/packs/node_parser_semantic_chunking/base.py
202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 |
|
run #
run(query: str) -> Any
Run the pipeline.
Source code in llama-index-packs/llama-index-packs-node-parser-semantic-chunking/llama_index/packs/node_parser_semantic_chunking/base.py
236 237 238 |
|