
    ga                        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'FIMCompletionStreamRequestStopTypedDictFIMCompletionStreamRequestStopc                      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)#FIMCompletionStreamRequestTypedDictNullable[str]modelstrpromptzNotRequired[Nullable[float]]temperaturezNotRequired[float]top_pzNotRequired[Nullable[int]]
max_tokenszNotRequired[bool]streamz4NotRequired[FIMCompletionStreamRequestStopTypedDict]stoprandom_seedzNotRequired[Nullable[str]]suffix
min_tokensN)__name__
__module____qualname____annotations__     `/var/www/openai/venv/lib/python3.12/site-packages/mistralai/models/fimcompletionstreamrequest.pyr   r      sh     K%-- Q I** b
>>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)FIMCompletionStreamRequestr   r   r   r   zOptionalNullable[float]r      zOptional[float]r   zOptionalNullable[int]r   TzOptional[bool]r   Nz(Optional[FIMCompletionStreamRequestStop]r   r   zOptionalNullable[str]r   r   wrap)modec                   g d}g d}g } ||       }i }| 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   r   )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*FIMCompletionStreamRequest.serialize_modelP   s    	

 !T]
%%++-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(   /   s    
 K%+0K(0 QE? I(-J%- b!FN!59D
29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 +8-uS$s)^/D+ ' p "/$eCcN&;"  pG) G2M Mr%   