| models | R Documentation |
Models Class
Models Class
openaistream::openai -> models
list()Lists the currently available models, and provides basic information about each one such as the owner and availability.
models$list(verbosity = 0)
verbositynumeric. Verbosity level for the API call(0:no output;1:show headers; 2:show headers and bodies;3: show headers, bodies, and curl status messages.).
A list of model objects.
retrieve()Retrieves a model instance, providing basic information about the model such as the owner and permissioning.
models$retrieve(model, verbosity = 0)
modelcharacter Required. The ID of the model to use for this request
verbositynumeric. Verbosity level for the API call(0:no output;1:show headers; 2:show headers and bodies;3: show headers, bodies, and curl status messages.).
The model object matching the specified ID.
delete()Delete a fine-tuned model. You must have the Owner role in your organization to delete a model.
models$delete(model, verbosity = 0)
modelcharacter Required. The model to delete
verbositynumeric. Verbosity level for the API call(0:no output;1:show headers; 2:show headers and bodies;3: show headers, bodies, and curl status messages.).
Deletion status.
clone()The objects of this class are cloneable with this method.
models$clone(deep = FALSE)
deepWhether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.