ModelCall.
One call of a model, metered against the unit it served
Figure 1ModelCallspecified
- kind
- fact
- scope
- follows
- key
- the model, the unit and the moment
- store
- postgres+lake
- family
- models
Fields#
| field | type | required | note |
|---|---|---|---|
model | Model | yes | |
unit | id | yes | |
tokens | count | no | |
size | bytes | no | |
cost | Cost | yes | |
outcome | one of answered | refused | failed | yes | |
run | id | yes |
Routes that use it#
No route takes or returns ModelCall directly. The record holds it, and the objects that point at it reach it.