"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""

from __future__ import annotations
from friendli.core.types import BaseModel
from typing import List
from typing_extensions import TypedDict


class ServerlessDetokenizationBodyTypedDict(TypedDict):
    model: str
    "Code of the model to use. See [available model list](https://friendli.ai/docs/guides/serverless_endpoints/pricing#billing-methods)."
    tokens: List[int]
    "A token sequence to detokenize."


class ServerlessDetokenizationBody(BaseModel):
    model: str
    "Code of the model to use. See [available model list](https://friendli.ai/docs/guides/serverless_endpoints/pricing#billing-methods)."
    tokens: List[int]
    "A token sequence to detokenize."
