
    i                        d Z ddlmZ ddlmZmZmZmZmZ ddl	m
Z
 ddlmZmZmZ ddlmZmZmZ  edeeee   f         Z	  edeeee   f         Z	  G d	 d
e      Z G d de      Zy)zACode generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.    )annotations)	BaseModelNullableOptionalNullableUNSETUNSET_SENTINEL)model_serializer)ListOptionalUnion)NotRequiredTypeAliasType	TypedDict!FIMCompletionRequestStopTypedDictFIMCompletionRequestStopc                      e Zd ZU ded<   	 ded<   	 ded<   	 ded<   	 ded	<   	 d
ed<   	 ded<   	 ded<   	 ded<   	 ded<   y)FIMCompletionRequestTypedDictstrmodelpromptzNotRequired[Nullable[float]]temperaturezNotRequired[float]top_pzNotRequired[Nullable[int]]
max_tokenszNotRequired[bool]streamz.NotRequired[FIMCompletionRequestStopTypedDict]stoprandom_seedzNotRequired[Nullable[str]]suffix
min_tokensN)__name__
__module____qualname____annotations__     c/var/www/html/eduruby.in/venv/lib/python3.12/site-packages/mistralai/models/fimcompletionrequest.pyr   r      sm    J K%-- Q I** b N
88s++l&& s**Fr$   r   c                      e Zd ZU ded<   	 ded<   	 eZded<   	 dZded<   	 eZd	ed
<   	 dZded<   	 dZ	ded<   	 eZ
d	ed<   	 eZded<   	 eZd	ed<   	  ed      d        Zy)FIMCompletionRequestr   r   r   zOptionalNullable[float]r      zOptional[float]r   zOptionalNullable[int]r   FzOptional[bool]r   Nz"Optional[FIMCompletionRequestStop]r   r   zOptionalNullable[str]r   r   wrap)modec                   g d}g d}g } ||       }i }t        |       j                  j                         D ]  \  }}|j                  xs |}	|j	                  |	      }
|j                  |	d        |	|v xr |	|v }| j                  j                  |h      xs |	|v }|
|
t        k7  r|
||	<   v|
t        k7  s|	|vs|s|s|
||	<    |S )N)r   r   r   r   r   r   r   r   )r   r   r   r   r   )	typemodel_fieldsitemsaliasgetpop__pydantic_fields_set__intersectionr   )selfhandleroptional_fieldsnullable_fieldsnull_default_fields
serializedmnfkvaloptional_nullableis_sets                r%   serialize_modelz$FIMCompletionRequest.serialize_modelR   s    	

 !T]
J++113 	DAq1A..#CNN1d# !_ 4 Mo9M,,991#> ,++ 
 3.#8!&(->6!!	$ r$   )r   r    r!   r"   r   r   r   r   r   r   r   r   r   r	   rA   r#   r$   r%   r'   r'   0   s    J
 K%+0K(0 QE? I(-J%- b"FN" N/3D
,3s).K&.l$)F!) s(-J%-F6"* #*r$   r'   N)__doc__
__future__r   mistralai.typesr   r   r   r   r   pydanticr	   typingr
   r   r   typing_extensionsr   r   r   r   r   r   r   r'   r#   r$   r%   <module>rH      s    G " X X % ( ( C C %2'sDI~)>% ! p )c49n 5  pGI G4M9 Mr$   