Create `Azure LLM` configuration
(
api_key: impl Into<String>,
deployment_name: impl Into<String>,
endpoint: impl Into<String>,
api_version: impl Into<String>,
)
| 257 | |
| 258 | /// Create `Azure LLM` configuration |
| 259 | pub fn azurellm( |
| 260 | api_key: impl Into<String>, |
| 261 | deployment_name: impl Into<String>, |
| 262 | endpoint: impl Into<String>, |
| 263 | api_version: impl Into<String>, |
| 264 | ) -> Self { |
| 265 | Self::AzureLlm { |
| 266 | api_key: api_key.into(), |
| 267 | deployment_name: deployment_name.into(), |
| 268 | endpoint: endpoint.into(), |
| 269 | api_version: api_version.into(), |
| 270 | } |
| 271 | } |
| 272 | |
| 273 | /// Create `Azure LLM` configuration with default API version |
| 274 | pub fn azurellm_with_defaults( |
no outgoing calls