Text
.
Type-checking makes sure that any values you place in a node’s input are of a compatible type for that input. For example, inputs of type Text
will only accept values that are compatible with Text
.
The following discussion is a bit more technical.
In summary, you may receive errors when connecting nodes where the data types don’t match.
If so, you’ll receive a descriptive error message explaining where the errors are.
Type Hierarchy
Some Data Types are sub-types of others: anyInteger
value passed around in a pipeline, for instance, can be treated as a Decimal
, and many Data Types can be represented using Text
.
If a type T
is a sub-type of a different type U
, you will be able to use values of type T
in any input of type U
.
The VectorShift platform currently supports the following basic Data Types, with levels of indentation indicating sub-types.
Text
Decimal
Integer
JSON
File
Image
Audio
CSV
VSObject
KnowledgeBase
Pipeline
Integration
Transformation
Dropdown
Path
(for more information on this data type, see Dependencies)
T
, where T
can be any basic or compound Data Type:
List<T>
: A list of any length containing elements of typeT
. For example,List<Text>
represents a list of elements, each of which has a type ofText
. For an input of typeList<T>
, you can either provide a single value of typeList<T>
, or you can toggle “Itemize” and provide several values of typeT
.Stream<T>
: A continuous stream of elements of typeT
. For example,Stream<Text>
represents a continuous stream ofText
values, like those produced by an LLM with streaming enabled.