OpenAIWrapperName | Description |
---|---|
config_list | Type: Optional[list[dict[str, Any]]] Default: None |
**base_config | Type: Any |
Name | Description |
---|---|
response | The response from openai. Type: ModelClientResponseProtocol |
Type | Description |
---|---|
list[str] | list[autogen.oai.client.ModelClient.ModelClientResponseProtocol.Choice.Message] | A list of text, or a list of ChatCompletion objects if function_call/tool_calls are present. |
Name | Description |
---|---|
template | Type: Optional[Union[str, Callable[[dict[str, Any]], str]]] |
context | Type: Optional[dict[str, Any]] Default: None |
allow_format_str_template | Type: Optional[bool] Default: False |
Name | Description |
---|---|
**config | The config for the completion. Type: Any |
Name | Description |
---|---|
mode | Type: Union[str, list[str]] Default: [‘actual’, ‘total’] |
Name | Description |
---|---|
model_client_cls | A custom client class that follows the ModelClient interface Type: ModelClient |
**kwargs | Type: Any |