For the complete documentation index, see llms.txt. Markdown versions of all pages are available by appending .md to any URL (e.g. /get-started.md).
Python class
TopLogProb
TopLogProb
class max.pipelines.request.TopLogProb(*, token, logprob, bytes=None)
Bases: BaseModel
Log probability information for a token.
bytes
logprob
logprob: float
model_config
model_config: ClassVar[ConfigDict] = {'frozen': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
token
token: str