autogen_ext.models.azure.config#

class JsonSchemaFormat[source]#

Bases: TypedDict

Represents the same fields as azure.ai.inference.models.JsonSchemaFormat.

name: str#
schema: Dict[str, Any]#
description: str | None#
strict: bool | None#
class AzureAIClientArguments[source]#

Bases: TypedDict

endpoint: str#
credential: AzureKeyCredential | AsyncTokenCredential#
model_info: ModelInfo#
class AzureAICreateArguments[source]#

Bases: TypedDict

frequency_penalty: float | None#
presence_penalty: float | None#
temperature: float | None#
top_p: float | None#
max_tokens: int | None#
response_format: Literal['text', 'json_object'] | None#
stop: List[str] | None#
tools: List[ChatCompletionsToolDefinition] | None#
tool_choice: str | ChatCompletionsToolChoicePreset | ChatCompletionsNamedToolChoice | None#
seed: int | None#
model: str | None#
model_extras: Dict[str, Any] | None#
class AzureAIChatCompletionClientConfig[source]#

Bases: dict

endpoint: str#
credential: AzureKeyCredential | AsyncTokenCredential#
model_info: ModelInfo#
frequency_penalty: float | None#
presence_penalty: float | None#
temperature: float | None#
top_p: float | None#
max_tokens: int | None#
response_format: Literal['text', 'json_object'] | None#
stop: List[str] | None#
tools: List[ChatCompletionsToolDefinition] | None#
tool_choice: str | ChatCompletionsToolChoicePreset | ChatCompletionsNamedToolChoice | None#
seed: int | None#
model: str | None#
model_extras: Dict[str, Any] | None#