Knowledge Base - Advanced

In this section, some advanced concepts will be presented to make the most of the Knowledge Base capabilities.

Field Types

In Knowledge Base we refer to the "Value" field type, but several more complex modes are available.

Value

The "Value" type defines a simple, scalar data, which has a single value. It could be a name, an email address, a date or even a "content summary".

Object

This type allows you to insert "sub-types" within the main type.
For example, if the type is "Customer", I might want to define a field, which is called "Main Contact", which in turn contains two properties, the name and the phone number.
By selecting the "Object" type, I have the possibility to define these two subfields, building a more complex structure.

List of Values

This type allows you to manage data that can be represented as a list in the main type.
For example, if the type is "Recipe", the "Ingredients" field can be modeled with the "List of values" type. With an appropriate description, this field can therefore contain the list of ingredients of the recipe.

List of Objects

This type is the most complex, and combines the properties defined by "Object" and "List of values".
It can be very useful when you have to model complex data that repeats within the main type.
For example, if we are modeling "Resumes", the "Experiences" field could be defined as a list of objects. Each object, which therefore represents a "sub-type", will in turn have a structure with "start date", "end date", "role", "description", in order to exhaustively represent a candidate's experiences.