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

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


class ServerlessTokenizationBodyTypedDict(TypedDict):
    model: str
    "Code of the model to use. See [available model list](https://friendli.ai/docs/guides/serverless_endpoints/pricing#billing-methods)."
    prompt: str
    "Input text prompt to tokenize."


class ServerlessTokenizationBody(BaseModel):
    model: str
    "Code of the model to use. See [available model list](https://friendli.ai/docs/guides/serverless_endpoints/pricing#billing-methods)."
    prompt: str
    "Input text prompt to tokenize."
