model {TheOpenAIR} | R Documentation |
This function extracts the model from the parsed HTTP response of an API call to the OpenAI chat completions endpoint.
model(response)
response |
a list object representing the HTTP response |
a character string representing the model from the response
Ulrich Matter umatter@protonmail.com