(list-models)
(list-models options)
Lists the currently available models, and provides basic information about each one such as the owner and availability.
Example:
(list-models)
Response:
{
"object": "list",
"data": [
{
"id": "model-id-0",
"object": "model",
"created": 1686935002,
"owned_by": "organization-owner"
},
{
"id": "model-id-1",
"object": "model",
"created": 1686935002,
"owned_by": "organization-owner",
},
{
"id": "model-id-2",
"object": "model",
"created": 1686935002,
"owned_by": "openai"
},
],
"object": "list"
}
Also see the OpenAI documentation
Lists the currently available models, and provides basic information about each one such as the owner and availability. Example: ``` (list-models) ``` Response: ``` { "object": "list", "data": [ { "id": "model-id-0", "object": "model", "created": 1686935002, "owned_by": "organization-owner" }, { "id": "model-id-1", "object": "model", "created": 1686935002, "owned_by": "organization-owner", }, { "id": "model-id-2", "object": "model", "created": 1686935002, "owned_by": "openai" }, ], "object": "list" } ``` Also see the [OpenAI documentation](https://platform.openai.com/docs/api-reference/models/list)
(retrieve-model params)
(retrieve-model params options)
Retrieves a model instance, providing basic information about the model such as the owner and permissioning.
Example:
(retrieve-model {:model "gpt-3.5-turbo-instruct"})
Response:
{
"id": "gpt-3.5-turbo-instruct",
"object": "model",
"created": 1686935002,
"owned_by": "openai"
}
Also see the OpenAI documentation
Retrieves a model instance, providing basic information about the model such as the owner and permissioning. Example: ``` (retrieve-model {:model "gpt-3.5-turbo-instruct"}) ``` Response: ``` { "id": "gpt-3.5-turbo-instruct", "object": "model", "created": 1686935002, "owned_by": "openai" } ``` Also see the [OpenAI documentation](https://platform.openai.com/docs/api-reference/models/retrieve)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close