The azure_openai()
function acts as an interface for interacting with the Azure OpenAI API
through main tidyllm
verbs.
azure_openai(..., .called_from = NULL)
The result of the requested action, depending on the specific function invoked
(currently, only an updated LLMMessage
object for azure_openai_chat()
).
Parameters to be passed to the Azure OpenAI API specific function, such as model configuration, input text, or API-specific options.
An internal argument that specifies which action (e.g.,
chat
) the function is being invoked from.
This argument is automatically managed and should not be modified by the user.
azure_openai()
currently routes messages only to azure_openai_chat()
when used with chat()
.
send_batch()
. It dynamically routes requests to OpenAI-specific functions
like azure_openai_chat()
and azure_openai_embedding()
based on the context of the call.