creation_date
Definition
A creation_date
attribute is used to define the moment when an entity was created or came into existence. This allows Veezoo to interpret user questions involving the age since an entity was created.
Example: A kb.Company
class may have a creation_date
attribute. When the user asks "how old is our company", Veezoo should compute the age based on the creation_date
.
Usage
To use the creation_date
attribute, you need to define it in your class as shown in the example below.
import: [
db.postgres.company_db.public.COMPANIES
]
kb {
class Company {
name.en: "Company"
creation_date: Incorporation_Date
...
date Incorporation_Date {
name.en: "Incorporation Date"
datetime_format: DayFormat
sql: "${COMPANIES.incorporation_date}"
}
}
}