{
"operation-name" : "add",
"description" : "This operation adds a Mitral AI chat model.",
"request-properties" : {
"api-key" : {
"type" : {
"TYPE_MODEL_VALUE" : "STRING"
},
"description" : "API key to authenticate to a Mitral AI chat model.",
"expressions-allowed" : true,
"required" : true,
"nillable" : false,
"min-length" : 1,
"max-length" : 2147483647,
"stability" : "default"
},
"base-url" : {
"type" : {
"TYPE_MODEL_VALUE" : "STRING"
},
"description" : "Endpoint to connect to a Mitral AI chat model.",
"expressions-allowed" : true,
"required" : true,
"nillable" : false,
"min-length" : 1,
"max-length" : 2147483647,
"stability" : "default"
},
"connect-timeout" : {
"type" : {
"TYPE_MODEL_VALUE" : "LONG"
},
"description" : "Timeout for the Mitral AI chat model.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"default" : 0,
"unit" : "MILLISECONDS",
"stability" : "default"
},
"frequency-penalty" : {
"type" : {
"TYPE_MODEL_VALUE" : "DOUBLE"
},
"description" : "Positive values penalize tokens that repeatedly appear in the generated text, decreasing the probability of repeating content.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"stability" : "default"
},
"log-requests" : {
"type" : {
"TYPE_MODEL_VALUE" : "BOOLEAN"
},
"description" : "Enabling the tracing of requests going to Mitral AI.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"stability" : "default"
},
"log-responses" : {
"type" : {
"TYPE_MODEL_VALUE" : "BOOLEAN"
},
"description" : "Enabling the tracing of responses from Mitral AI.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"stability" : "default"
},
"max-retries" : {
"type" : {
"TYPE_MODEL_VALUE" : "INT"
},
"description" : "The maximum number of retries for API requests to Mitral AI.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"stability" : "default"
},
"max-token" : {
"type" : {
"TYPE_MODEL_VALUE" : "INT"
},
"description" : "The number of token returned by the Mitral AI chat model.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"default" : 1000,
"stability" : "default"
},
"model-name" : {
"type" : {
"TYPE_MODEL_VALUE" : "STRING"
},
"description" : "Name of the model served by Mitral AI.",
"expressions-allowed" : true,
"required" : true,
"nillable" : false,
"min-length" : 1,
"max-length" : 2147483647,
"stability" : "default"
},
"presence-penalty" : {
"type" : {
"TYPE_MODEL_VALUE" : "DOUBLE"
},
"description" : "Presence penalty applied to the next token's logprobs if the token has already been seen in the response. This penalty is binary on/off and not dependant on the number of times the token is used (after the first). Use frequency-penalty for a penalty that increases with each use.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"stability" : "default"
},
"random-seed" : {
"type" : {
"TYPE_MODEL_VALUE" : "INT"
},
"description" : "Seed of the Mitral AI chat model.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"stability" : "default"
},
"response-format" : {
"type" : {
"TYPE_MODEL_VALUE" : "STRING"
},
"description" : "The format of the response from Mitral AI.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"allowed" : [
"JSON",
"TEXT"
],
"stability" : "default"
},
"safe-prompt" : {
"type" : {
"TYPE_MODEL_VALUE" : "BOOLEAN"
},
"description" : "Whether to inject a safety prompt before all conversations.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"stability" : "default"
},
"stop-sequences" : {
"type" : {
"TYPE_MODEL_VALUE" : "LIST"
},
"description" : "List of stop sequences to tell the model to stop generating content.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"min-length" : 0,
"max-length" : 2147483647,
"stability" : "default",
"value-type" : {
"TYPE_MODEL_VALUE" : "STRING"
}
},
"streaming" : {
"type" : {
"TYPE_MODEL_VALUE" : "BOOLEAN"
},
"description" : "Whether to create a token streaming chat language model or not.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"default" : false,
"stability" : "default"
},
"temperature" : {
"type" : {
"TYPE_MODEL_VALUE" : "DOUBLE"
},
"description" : "Temperature of the Mitral AI chat model.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"stability" : "default"
},
"top-p" : {
"type" : {
"TYPE_MODEL_VALUE" : "DOUBLE"
},
"description" : "Top P of the Mitral AI chat model.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"stability" : "default"
}
},
"reply-properties" : {},
"stability" : "default",
"read-only" : false,
"runtime-only" : false
}