OpenAIModel

OpenAIModel
OpenAIModel

OpenAI API compatible (AI) Model response

ref: https://platform.openai.com/docs/api-reference/models/object

NOTE: A model in the OpenAI world is mix of Model and Endpoint from the the PAIS ecosystem.

JSON Example
{
    "id": "string",
    "object": "string",
    "created": 0,
    "owned_by": "string",
    "model_type": "string",
    "model_engine": "string",
    "status": "string"
}
string
id
Required  

Model endpoint identifier.

string
object
Optional
Constraints: default: model

Object type, which is always model for available model endpoints. If the model endpoints is in the process of being deleted, it is model.deleted.

Enumeration: model, model.deleted
integer
created
Required  

Unix timestamp (in seconds) when the model was created.

string
owned_by
Optional
Constraints: default:

Organization that owns the model.

string
model_type
Required  

Type of the model.

Enumeration: EMBEDDINGS, COMPLETIONS
string
model_engine
Required  

Inference engine configured to serve the model.

Enumeration: INFINITY, TRITON_TENSORRT_LLM, TRITON_VLLM, VLLM, LLAMA_CPP, OPENAI, GOOGLE_OPENAI, GOOGLE_GEMINI, GOOGLE_VERTEX_AI, MISTRAL
status
Required  

Availability status of a model endpoint.

Enumeration: AVAILABLE, PENDING, UNAVAILABLE