fastrag.ingestion.logger.chunk#
Compatibility import for the former chunk-only logger.
Classes
|
Compatibility logger for chunking events anywhere in the graph. |
- class fastrag.ingestion.logger.chunk.ChunkLogger(pipeline, *, format='rich', stream=None, configuration=None, stages=None, content_lines=None, content_chars=None, metadata_only=False, show_binary=False)[source]#
Bases:
DocumentsLoggerCompatibility logger for chunking events anywhere in the graph.
New code should use DocumentsLogger. The summary’s
documentsandparent_documentsboth count chunking inputs, as in the former API.- Parameters:
- label = 'Document inspection'#
- async run()#
Inspect items and write a partial summary before propagating failures.
- Return type:
None