@graphty/graphty-element / ai / AttributeHistogramBin
Interface: AttributeHistogramBin ​
Defined in: graphty-element/src/ai/schema/utils.ts:27
One bar of the distribution a schema summary draws for an attribute column.
NAMED APART FROM THE RESULT HISTOGRAM ON PURPOSE. ./session publishes a HistogramBin of its own -- { from, to, count }, the bars a run's result is drawn as -- and the two are different shapes for different questions: this one describes an ATTRIBUTE the data arrived with, carries its range as a printed string for a language model to read back, and is cut into five bands rather than twenty. A consumer importing both entry points would otherwise have two types of one name and no way to tell which it had.
Properties ​
count ​
count:
number
Defined in: graphty-element/src/ai/schema/utils.ts:29
max ​
max:
number
Defined in: graphty-element/src/ai/schema/utils.ts:31
min ​
min:
number
Defined in: graphty-element/src/ai/schema/utils.ts:30
range ​
range:
string
Defined in: graphty-element/src/ai/schema/utils.ts:28