parse_result(
self,
result: list[Generation],
*,
partial: bool = False
)| Name | Type | Description |
|---|---|---|
result* | list[Generation] | |
partial | bool | Default: False |
Parse a list of candidate model Generations into a specific format.
A list of Generation to be parsed. The Generations are assumed
to be different candidate outputs for a single model input.
(Not used) Whether the result is a partial result. If True, the
parser may return a partial result, which may not be complete or valid.