mirror of
https://github.com/Ladebeze66/llm_ticket3.git
synced 2025-12-18 07:27:46 +01:00
32 lines
794 B
Python
32 lines
794 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 FIMCompletionResponseTypedDict(TypedDict):
|
|
id: str
|
|
object: str
|
|
model: str
|
|
usage: UsageInfoTypedDict
|
|
created: NotRequired[int]
|
|
choices: NotRequired[List[ChatCompletionChoiceTypedDict]]
|
|
|
|
|
|
class FIMCompletionResponse(BaseModel):
|
|
id: str
|
|
|
|
object: str
|
|
|
|
model: str
|
|
|
|
usage: UsageInfo
|
|
|
|
created: Optional[int] = None
|
|
|
|
choices: Optional[List[ChatCompletionChoice]] = None
|