# Chat Completions Creates a model response for the given chat conversation. Endpoint: POST /inferencing/openai/v1/chat/completions Version: 1.0.0 ## Header parameters: - `setup` (any) ## Request fields (application/json): - `model` (any, required) - `messages` (array, required) - `messages.role` (any, required) Enum: "system", "user", "assistant" - `messages.content` (any, required) - `messages.name` (any) - `temperature` (any) - `top_p` (any) - `n` (any) - `stream` (any) - `stop` (any) - `max_tokens` (any) - `presence_penalty` (any) - `frequency_penalty` (any) - `logit_bias` (any) - `user` (any) - `tools` (any) - `tool_choice` (any) - `response_format` (any) ## Response 200 fields (application/json): - `id` (any) - `object` (any) - `created` (any) - `model` (any, required) - `choices` (array, required) - `choices.index` (any, required) - `choices.message` (object, required) - `choices.message.role` (any, required) Enum: "system", "user", "assistant" - `choices.message.content` (any) - `choices.message.tool_calls` (any) - `choices.logprobs` (any) - `choices.finish_reason` (any) - `choices.stop_reason` (any) - `usage` (any) - `prompt_logprobs` (any) ## Response 404 fields (application/json): - `error` (object, required) - `error.message` (any, required) - `error.type` (any, required) - `error.param` (any) - `error.code` (any) ## Response 422 fields (application/json): - `detail` (array) - `detail.loc` (array, required) - `detail.msg` (any, required) - `detail.type` (any, required)