Skip to main content
POST
/
llm-settings
Create new LLM settings
curl --request POST \
  --url http://localhost:8080/api/v1/llm-settings \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "data": {
    "attributes": {
      "max_length": 123,
      "max_tokens": 123,
      "metadata": {},
      "min_length": 123,
      "model_name": "<string>",
      "repetition_penalty": 123,
      "seed": 123,
      "stop_words": [
        "<string>"
      ],
      "temperature": 123,
      "top_k": 123,
      "top_p": 123
    },
    "type": "<string>"
  }
}
'
{
  "attributes": {
    "max_length": 123,
    "max_tokens": 123,
    "metadata": {},
    "min_length": 123,
    "model_name": "<string>",
    "repetition_penalty": 123,
    "seed": 123,
    "stop_words": [
      "<string>"
    ],
    "temperature": 123,
    "top_k": 123,
    "top_p": 123
  },
  "id": "<string>",
  "type": "<string>"
}

Authorizations

Authorization
string
header
required

Body

application/json

LLM settings information

data
object

Response

Created

attributes
object
id
string
type
string