{
"operation-name" : "add",
"description" : "This operation adds an OpenAI chat model.",
"request-properties" : {
"api-key" : {
"type" : {
"TYPE_MODEL_VALUE" : "STRING"
},
"description" : "API key to authenticate to an OpenAI 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 an OpenAI 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 OpenAI chat model.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"default" : 0,
"unit" : "MILLISECONDS",
"stability" : "default"
},
"frequency-penalty" : {
"type" : {
"TYPE_MODEL_VALUE" : "DOUBLE"
},
"description" : "Frequency penalty of the OpenAI chat model.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"stability" : "default"
},
"log-requests" : {
"type" : {
"TYPE_MODEL_VALUE" : "BOOLEAN"
},
"description" : "Enabling the tracing of requests going to OpenAI.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"stability" : "default"
},
"log-responses" : {
"type" : {
"TYPE_MODEL_VALUE" : "BOOLEAN"
},
"description" : "Enabling the tracing of responses from OpenAI.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"stability" : "default"
},
"max-token" : {
"type" : {
"TYPE_MODEL_VALUE" : "INT"
},
"description" : "The number of token returned by the OpenAI 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 OpenAI.",
"expressions-allowed" : true,
"required" : true,
"nillable" : false,
"min-length" : 1,
"max-length" : 2147483647,
"stability" : "default"
},
"organization-id" : {
"type" : {
"TYPE_MODEL_VALUE" : "STRING"
},
"description" : "Name of the organization id served by OpenAI.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"min-length" : 1,
"max-length" : 2147483647,
"stability" : "default"
},
"presence-penalty" : {
"type" : {
"TYPE_MODEL_VALUE" : "DOUBLE"
},
"description" : "Presence penalty of the OpenAI 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 OpenAI.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"allowed" : [
"JSON",
"TEXT"
],
"stability" : "default"
},
"seed" : {
"type" : {
"TYPE_MODEL_VALUE" : "LONG"
},
"description" : "Seed of the OpenAI chat model.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"stability" : "default"
},
"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 OpenAI chat model.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"stability" : "default"
},
"top-p" : {
"type" : {
"TYPE_MODEL_VALUE" : "DOUBLE"
},
"description" : "Top P of the OpenAI chat model.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"stability" : "default"
}
},
"reply-properties" : {},
"stability" : "default",
"read-only" : false,
"runtime-only" : false
}