Parse a list of candidate model Generation objects into a specific format.
The return value is parsed from only the first Generation in the result, which
is assumed to be the highest-likelihood Generation.
parse_result(
self,
result: list[Generation],
*,
partial: bool = False
) -> T| Name | Type | Description |
|---|---|---|
result* | list[Generation] | A list of The |
partial | bool | Default: FalseWhether to parse the output as a partial result. This is useful for parsers that can parse partial results. |