Ensure pipelines are valid and reliable by validating data types
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.
Integer
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 type T
. For example, List<Text>
represents a list of elements, each of which has a type of Text
. For an input of type List<T>
, you can either provide a single value of type List<T>
, or you can toggle “Itemize” and provide several values of type T
.Stream<T>
: A continuous stream of elements of type T
. For example, Stream<Text>
represents a continuous stream of Text
values, like those produced by an LLM with streaming enabled.