
    7Mg                        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 eeee   f   Z	 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	TypedDictc                      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__     }E:\wamp.anq\www\apps\calme\nutritwin\resources\nutritwin\Lib\site-packages\mistralai_gcp/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_modelR   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	   r>   r!   r"   r#   r%   r%   1   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_gcp.typesr   r   r   r   r   pydanticr	   typingr
   r   r   typing_extensionsr   r   r   'FIMCompletionStreamRequestStopTypedDictFIMCompletionStreamRequestStopr   r%   r!   r"   r#   <module>rG      so    G "  & ( ( 4 +0T#Y*? ' o "'sDI~!6  oG) G2M Mr"   