Class: SkillBench::Clients::Providers::AzureOpenAI

Inherits:
BaseClient
  • Object
show all
Defined in:
lib/skill_bench/clients/providers/azure_openai.rb

Overview

Azure OpenAI provider using the OpenAI-compatible API.

This provider bridges the gap between standard OpenAI requests and Azure’s deployment-based endpoint structure.

Constant Summary collapse

DEFAULT_API_VERSION =

Default API version if none is provided.

'2024-02-15-preview'

Instance Attribute Summary

Attributes inherited from BaseClient

#api_key, #messages, #model, #options, #system_prompt, #tools

Instance Method Summary collapse

Methods inherited from BaseClient

call, #call, #initialize

Constructor Details

This class inherits a constructor from SkillBench::Clients::BaseClient

Instance Method Details

#provider_nameSymbol

Returns the provider identifier.

Returns:

  • (Symbol)


25
26
27
# File 'lib/skill_bench/clients/providers/azure_openai.rb', line 25

def provider_name
  :azure
end