Docs /Templates/ sinapsis-data-analysis

CategoricalToNumerical

sinapsis-data-analysiscommunity

Python template · sinapsis_data_analysis.templates.transformation.categorical_to_numerical

Overview

Base class for all Templates in Sinapsis. A template is a reusable blueprint for implementing Agent executable components. In summary, templates can encapsulate a series of operations, ranging from simple methods to sophisticated orchestrations of multiple functions or other templates.

Properties: * Highly parameterized through Template attributes. * Single input and output design. * Standalone functionality. * Enable the creation of modular and scalable agents. * Can be dynamically created from existing python methods or classes.

Capabilities

Capabilities: not set

Installation

Install the published package using pip or uv.

Terminalbash
pip install sinapsis-data-analysis==1.0.0
uv pip install sinapsis-data-analysis==1.0.0
uv add sinapsis-data-analysis==1.0.0

Configuration

Effective fields from the inspector schema, including nested Pydantic model fields.

metadata

Field used to set the template instance name and agent name. Defaults to None.

sinapsis_core.template_base.base_models.TemplateMetadata | None
Optional
Default: null
generic_keyRequired
str
Required
Default: null

Configuration example

Generated from documented defaults. Replace any placeholders and complete required nested settings before running.

yaml
templates:
  - template_name: "CategoricalToNumerical"
    class_name: "CategoricalToNumerical"
    attributes:
      generic_key: "<required>"

Inheritance

Immediate parent: sinapsis_core.template_base.template.Template

Environment variables

Environment definitions belong to their canonical Python modules.

No directly related environment variables listed.