Ë
    uPêjƒ	  ã                   ó&   — d dl mZ  G d„ de«      Zy)é   )ÚOpenAITextCompletionConfigc                   ó�   ‡ — e Zd ZdZ	 	 	 	 	 	 	 	 ddedz  dedz  dedz  dedz  dedz  deez  dz  d	edz  d
edz  ddfˆ fd„Zˆ xZ	S )ÚAzureOpenAITextConfigaX  
    Reference: https://platform.openai.com/docs/api-reference/chat/create

    The class `AzureOpenAIConfig` provides configuration for the OpenAI's Chat API interface, for use with Azure. It inherits from `OpenAIConfig`. Below are the parameters::

    - `frequency_penalty` (number or null): Defaults to 0. Allows a value between -2.0 and 2.0. Positive values penalize new tokens based on their existing frequency in the text so far, thereby minimizing repetition.

    - `function_call` (string or object): This optional parameter controls how the model calls functions.

    - `functions` (array): An optional parameter. It is a list of functions for which the model may generate JSON inputs.

    - `logit_bias` (map): This optional parameter modifies the likelihood of specified tokens appearing in the completion.

    - `max_tokens` (integer or null): This optional parameter helps to set the maximum number of tokens to generate in the chat completion.

    - `n` (integer or null): This optional parameter helps to set how many chat completion choices to generate for each input message.

    - `presence_penalty` (number or null): Defaults to 0. It penalizes new tokens based on if they appear in the text so far, hence increasing the model's likelihood to talk about new topics.

    - `stop` (string / array / null): Specifies up to 4 sequences where the API will stop generating further tokens.

    - `temperature` (number or null): Defines the sampling temperature to use, varying between 0 and 2.

    - `top_p` (number or null): An alternative to sampling with temperature, used for nucleus sampling.
    NÚfrequency_penaltyÚ
logit_biasÚ
max_tokensÚnÚpresence_penaltyÚstopÚtemperatureÚtop_pÚreturnc	           
      ó4   •— t         ‰	| �  ||||||||¬«       y )N)r   r   r   r	   r
   r   r   r   )ÚsuperÚ__init__)
Úselfr   r   r   r	   r
   r   r   r   Ú	__class__s
            €úq/home/oem/CyberBrain26-unified/.venv/lib/python3.12/site-packages/litellm/llms/azure/completion/transformation.pyr   zAzureOpenAITextConfig.__init__   s/   ø€ ô 	‰ÑØ/Ø!Ø!ØØ-ØØ#Øð 	õ 		
ó    )NNNNNNNN)
Ú__name__Ú
__module__Ú__qualname__Ú__doc__ÚintÚdictÚstrÚlistr   Ú__classcell__)r   s   @r   r   r      s©   ø„ ñð8 )-Ø"&Ø!%ØØ'+Ø"&Ø"&Ø ñ
à ™:ð
ð ˜4‘Kð
ð ˜$‘Jð	
ð
 �‰:ð
ð  ™*ð
ð �D‰j˜4Ñð
ð ˜4‘Zð
ð �T‰zð
ð 
÷
ñ 
r   r   N)Ú openai.completion.transformationr   r   © r   r   ú<module>r!      s   ðÝ Jô/
Ð6õ /
r   