{
"operation-name" : "add",
"description" : "This operation adds a embedding model",
"request-properties" : {
"base-url" : {
"type" : {
"TYPE_MODEL_VALUE" : "STRING"
},
"description" : "Endpoint to connect to an Ollama embedding 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 Ollama embedding model.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"default" : 0,
"unit" : "MILLISECONDS",
"stability" : "default"
},
"log-requests" : {
"type" : {
"TYPE_MODEL_VALUE" : "BOOLEAN"
},
"description" : "Enabling the tracing of requests going to Ollama.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"stability" : "default"
},
"log-responses" : {
"type" : {
"TYPE_MODEL_VALUE" : "BOOLEAN"
},
"description" : "Enabling the tracing of responses from Ollama.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"stability" : "default"
},
"model-name" : {
"type" : {
"TYPE_MODEL_VALUE" : "STRING"
},
"description" : "Name of the embedding model served by Ollama.",
"expressions-allowed" : true,
"required" : true,
"nillable" : false,
"min-length" : 1,
"max-length" : 2147483647,
"stability" : "default"
}
},
"reply-properties" : {},
"stability" : "default",
"read-only" : false,
"runtime-only" : false
}