CSVDatasetReader
Python template · sinapsis_data_readers.templates.datasets_readers.csv_datasets
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 setInstallation
Install the published package using pip or uv.
pip install sinapsis-data-readers==1.0.0uv pip install sinapsis-data-readers==1.0.0uv add sinapsis-data-readers==1.0.0Configuration
Effective fields from the inspector schema, including nested Pydantic model fields.
Field used to set the template instance name and agent name. Defaults to None.
Optional
Default: null
Optional
Default: null
Required
Default: null
Optional
Default: false
Configuration example
Generated from documented defaults. Replace any placeholders and complete required nested settings before running.
templates:
- template_name: "CSVDatasetReader"
class_name: "CSVDatasetReader"
attributes:
root_dir: null
path_to_csv: "<required>"
store_as_time_series: false
Inheritance
sinapsis_core.template_base.template.TemplateEnvironment variables
Environment definitions belong to their canonical Python modules.