Fields
Fields are one of the most basic building blocks in Evrim. Fields give users granular control over what data should look like inside of a Template.
Overview
Let's continue to build out our Company Template example and show a few different Field types.
Fields have three required parameters:
name: name of field being created
description: more detail about what the field should contain
type: data type of final value
Fields can also be six different types:
String: text field
Boolean: true/false field
Integer: fixed numerical field
Float: Floating point numerical field
Relationship: One to many relational field
Preset Value: User defined string values
Check out the full Client Docs to see all available parameters for Fields.
String: str
A text field can be used to extract, summarize, or create information based on collected information.
Boolean: bln
Make a True/False determination based on collected information.
Integer: int
Fixed numerical value based on collected information.
Float: flt
Floating point numerical value based on collected information.
Relationship: rel
One to many relationships extracted from collected information.
Interestingly, Fields can also take in an optional sources parameter to control where information is extracted from. In this case, we will look at linkedin.com for employee information.
Preset Values: enm
Preset values, or enums, allows users to constrain the generation space of the large language model to only a few or many specified options based on collected information.
Behind the scenes, we do our best to generate only a PUBLIC or PRIVATE determination after collection is done. A few things to note:
enum_many: This boolean flag control multiple or a single preset value being returned
In this case, since we are making a determination about the companies private or public status, we set this to False. But if we were defining a business verticals preset values field, we probably would want this as true to get all available best values based on collected information.
Before we start using our Template, let's revisit Research Questions briefly to enrich our data collection process even further.
Last updated