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"
}
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
.
Possible values are :
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.
Possible values are :
EMBEDDINGS,
COMPLETIONS,
string
model_engine
Required
Inference engine configured to serve the model.
Possible values are :
INFINITY,
TRITON_TENSORRT_LLM,
TRITON_VLLM,
VLLM,