Supported openai params

Supported Openai Params

Returns supported openai params for a given litellm model name

e.g. gpt-4 vs gpt-3.5-turbo

Example curl:

curl -X GET --location 'http://localhost:4000/utils/supported_openai_params?model=gpt-3.5-turbo-16k'         --header 'Authorization: Bearer sk-1234'
GET/utils/supported_openai_params
Authorization
Query parameters
Response

Successful Response

Body
any
Request
const response = await fetch('/utils/supported_openai_params?model=text', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
{
  "detail": [
    {
      "loc": [
        "text"
      ],
      "msg": "text",
      "type": "text"
    }
  ]
}