NVIDIA Morpheus (24.06)
(Latest Version)

morpheus.modules.serialize

Functions

serialize(builder) Includes & excludes columns from messages.
serialize(builder)[source]

Includes & excludes columns from messages.

This module filters columns from a MultiMessage object emitting a MessageMeta.

Parameters
builder

mrc Builder object.

Notes

Configurable Parameters:
  • columns (list[str]): List of columns to include; Example: ["column1", "column2", "column3"];

    Default: None

  • exclude (list[str]): List of regex patterns to exclude columns; Example: ["column_to_exclude"];

    Default: [r'^ID$', r'^_ts_']

  • fixed_columns (bool): If true, the columns are fixed and not determined at runtime; Example: true;

    Default: true

  • include (str): Regex to include columns; Example: ^column; Default: None

  • use_cpp (bool): If true, use C++ to serialize; Example: true; Default: false

Previous morpheus.modules.schemas.write_to_vector_db_schema.WriteToVDBSchema
Next morpheus.modules.to_control_message
© Copyright 2024, NVIDIA. Last updated on Jul 8, 2024.