upstream_model_output
: the output of the upstream modelupstream_model_name
: the name of the upstream modelmodel_key
is added to reprent the key of in the
dictionary. The ModelEventData.model_output
will be the value of the key in the
model output.
cache_output
as an optional
input. If cache_output
is set to True
, the model output will be cached.
The default value is True.
WyvernRequest has a new global map model_output_map
which is used to
cache model output. The key of the map is the model name. The value is another
map (the inner map). They key of the inner map is the entity identifier and
the value is the model output value.
self.get_model_output
to get the
model cached model output.