Skip to content

⇅ Category Features

Macro Rendering Error

  _File_: `configuration/features/category_features.md`

  _ValidationError_: 1 validation error for CategoryDistributionOutputPreprocessingConfig

Value error, vocab must be specified for category_distribution output feature. [type=value_error, input_value={}, input_type=dict] For further information visit https://errors.pydantic.dev/2.13/v/value_error

  ```
  Traceback (most recent call last):

File "/opt/hostedtoolcache/Python/3.12.13/x64/lib/python3.12/site-packages/mkdocs_macros/plugin.py", line 703, in render return md_template.render(page_variables) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/hostedtoolcache/Python/3.12.13/x64/lib/python3.12/site-packages/jinja2/environment.py", line 1295, in render self.environment.handle_exception() File "/opt/hostedtoolcache/Python/3.12.13/x64/lib/python3.12/site-packages/jinja2/environment.py", line 942, in handle_exception raise rewrite_traceback_stack(source=source) File "