Crig::Providers::Azure::Client
Inherits Crig::Client::CompletionClient < Struct < Value < Object
Constructors
from_env
Sourcefrom_val(input : AzureOpenAIClientParams) : self
SourceClass methods
builder
SourceInstance methods
api_version
Sourceauth
Sourceendpoint
Sourcepost_audio_generation(deployment_id : String, body : String, headers : Hash(String, String) = {} of String => String) : HTTP::Client::Response
Sourcepost_chat_completion(deployment_id : String, body : String, headers : Hash(String, String) = {} of String => String) : HTTP::Client::Response
Sourcepost_json(path : String, body : String, headers : Hash(String, String) = {} of String => String) : HTTP::Client::Response
Sourcepost_transcription(deployment_id : String, body : String, content_type : String) : HTTP::Client::Response
Source