This section documents the public data types exported from latticeflow.core.dtypes. These are the shared types used across the AI GO! SDK — messages, traces, model inputs and outputs, solver outputs, scoring structures, and the enums and type aliases that tie them together. Every type can be imported directly from the package:
from latticeflow.core.dtypes import Trace, SampleScore, SolverTrace, ModelResponse
The types are grouped into the pages linked below, one per area. Each page lists a type’s fields and, where applicable, its public properties and methods; enums list their allowed values. The Other Types page maps each type alias to its members and documents the supporting nested types.