optuna_dashboard.llm.openai.AzureOpenAI
- class optuna_dashboard.llm.openai.AzureOpenAI(client, *, model, use_chat_completions_api=False)
An LLMProvider implementation for Microsoft Azure OpenAI.
- Parameters:
client (openai.AzureOpenAI) – An instance of the
openai.OpenAIclient.model (ResponsesModel) – The model name.
use_chat_completions_api (bool) – If
True, Chat Completions API will be used instead of the Responses API. For a comparison between the two APIs, see the official documentation: https://platform.openai.com/docs/guides/responses-vs-chat-completions
Methods
call(prompt)