azure_openai | R Documentation |
The azure_openai()
function acts as an interface for interacting with the Azure OpenAI API
through main tidyllm
verbs.
azure_openai(..., .called_from = NULL)
... |
Parameters to be passed to the Azure OpenAI API specific function, such as model configuration, input text, or API-specific options. |
.called_from |
An internal argument that specifies which action (e.g.,
|
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.
The result of the requested action, depending on the specific function invoked
(currently, only an updated LLMMessage
object for azure_openai_chat()
).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.