For the complete documentation index, see llms.txt. This page is also available as Markdown.

Soma Concepts

The Soma in Turium employs concepts such as record, column, directive, recipe, transformation step, and data axon.


Record

A record is an assembly of field names and their corresponding values.

In this context, a record is depicted as a JSON object where the object key signifies the column names, and the value represents the plain depiction of the data, devoid of type specifications.

For instance:

{
  "id": 1,
  "fname": "root",
  "lname": "joltie",
  "address": {
    "housenumber": "678",
    "street": "Mars Street",
    "city": "Marcity",
    "state": "Maregon",
    "country": "Mari"
  },
  "gender": "M"
}

Column

A column is a collection of field values of any of the supported data types, with each field value being part of a single record.


Directive

A directive is an individual instruction for data manipulation, designated to either transform, filter, or pivot a single record into no or more records. A directive can generate one or more steps to be executed by a data axon.

A directive can be depicted in text in this format:


Recipe

A recipe is a collection of directives. It comprises one or more directives. For instance, the following recipe alters the data type of Fare to integer.


Transformation step

A transformation step is an execution of a data transformation directive, operating on a single record or a set of records. A transformation step can generate no or more records from the implementation of a directive. The Turium Genesis applies the transformation steps in the sequence listed in the recipe.


Data Axon

A data axon is a set of stages to be implemented on a record. The record(s) outputted from a stage are transferred to the next stage in the axon.


Last updated