LogFieldsDebugger#
- class LogFieldsDebugger(config)#
Bases:
Debugger
The field
Debugger
logs values of different fields of theDocument
at different stages of thePipeline
. This is useful for debugging purposes.- Parameters
Example
{ "step": "debugger", "type": "log_fields", "fields": ["body"], "log_level": "warning" }
Methods Summary
process_doc
(doc)Process a document
train
(docs)Train on a step of a set of documents
Methods Documentation
- process_doc(doc)#
Process a document