*.sql
) to slurp them all up into a
context
object, as follows:
system_instructions
using Jinja, as follows:
measures
, dimensions
, and entities
.
measures
are special, in that they require a sql
field to run. The other
objects only require a name
field, though a few other fields (of note:
sample
(an array of sample data), description
(a plaintext description of
the column), synonyms
(an array of synonyms for the column)). We suggest
using the column name as name
.
A sample semantic model is shown below: