fn: GenerationResult.as_dict
Purpose
Serialize the result to a JSON-compatible mapping.
Signature
def as_dict(self) -> dict[str, object]:
Usage
generation_result.as_dict()

fn: GenerationResult.as_dict
Serialize the result to a JSON-compatible mapping.
def as_dict(self) -> dict[str, object]:
generation_result.as_dict()