π Get SqlΒΆ
processors.text2sql.get_sql
SequentialOperator(
steps=[
AddPrefix(
field="prediction",
prefix="SELECT ",
),
GetSQL(
field="prediction",
),
],
)
[source]from unitxt.processors import AddPrefix, GetSQL
Explanation about SequentialOperatorΒΆ
A class representing a sequential operator in the streaming system.
A sequential operator is a type of MultiStreamOperator that applies a sequence of other operators to a MultiStream. It maintains a list of StreamingOperator`s and applies them in order to the `MultiStream.
Read more about catalog usage here.