2025-04-02 09:01:55 +02:00

32 lines
796 B
Python

"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
from __future__ import annotations
from .chatcompletionchoice import ChatCompletionChoice, ChatCompletionChoiceTypedDict
from .usageinfo import UsageInfo, UsageInfoTypedDict
from mistralai_gcp.types import BaseModel
from typing import List, Optional
from typing_extensions import NotRequired, TypedDict
class ChatCompletionResponseTypedDict(TypedDict):
id: str
object: str
model: str
usage: UsageInfoTypedDict
created: NotRequired[int]
choices: NotRequired[List[ChatCompletionChoiceTypedDict]]
class ChatCompletionResponse(BaseModel):
id: str
object: str
model: str
usage: UsageInfo
created: Optional[int] = None
choices: Optional[List[ChatCompletionChoice]] = None