The chatgpt
function is an alias for the openai()
provider function.
It provides a convenient way to interact with the OpenAI API for tasks such
as sending chat messages, generating embeddings, and handling batch operations
using tidyllm
verbs like chat()
, embed()
, and send_batch()
.
Arguments
- ...
Parameters to be passed to the appropriate OpenAI-specific function, such as model configuration, input text, or other API-specific options.
- .called_from
An internal argument that specifies the context (e.g.,
chat
,embed
,send_batch
) in which the function is being invoked. This is automatically managed and should not be modified by the user.