diff --git a/website/docs/api/HTTP/get-model-predict.ParamsDetails.json b/website/docs/api/HTTP/get-model-predict.ParamsDetails.json deleted file mode 100644 index 5cbd28ce9..000000000 --- a/website/docs/api/HTTP/get-model-predict.ParamsDetails.json +++ /dev/null @@ -1 +0,0 @@ -{"parameters":[{"name":"name","in":"path","description":"The name of the model to make a prediction with.","required":true,"schema":{"type":"string"}}]} \ No newline at end of file diff --git a/website/docs/api/HTTP/get-model-predict.RequestSchema.json b/website/docs/api/HTTP/get-model-predict.RequestSchema.json deleted file mode 100644 index c96bcede2..000000000 --- a/website/docs/api/HTTP/get-model-predict.RequestSchema.json +++ /dev/null @@ -1 +0,0 @@ -{"title":"Body"} \ No newline at end of file diff --git a/website/docs/api/HTTP/get-model-predict.StatusCodes.json b/website/docs/api/HTTP/get-model-predict.StatusCodes.json deleted file mode 100644 index 90dc801da..000000000 --- a/website/docs/api/HTTP/get-model-predict.StatusCodes.json +++ /dev/null @@ -1 +0,0 @@ -{"responses":{"200":{"description":"Prediction made successfully","content":{"application/json":{"schema":{"type":"object","required":["status","model_name","duration_ms"],"properties":{"duration_ms":{"type":"integer","description":"The time taken to complete the prediction (in milliseconds)","minimum":0},"error_message":{"type":["string","null"],"description":"The error message if the request failed"},"model_name":{"type":"string","description":"The name of the model used for the prediction"},"model_version":{"type":["string","null"],"description":"The version of the model used"},"prediction":{"type":["array","null"],"items":{"type":"number","format":"float"},"description":"The prediction result, typically an array of floats"},"status":{"description":"The status of the prediction","type":"string","enum":["Success","BadRequest","InternalError"],"title":"PredictStatus"}},"title":"PredictResponse"},"example":{"status":"Success","model_name":"my_model_name","model_version":"1.0","prediction":[0.45,0.5,0.55],"duration_ms":123}}}},"400":{"description":"Invalid request to the model","content":{"application/json":{"schema":{"type":"object","required":["status","model_name","duration_ms"],"properties":{"duration_ms":{"type":"integer","description":"The time taken to complete the prediction (in milliseconds)","minimum":0},"error_message":{"type":["string","null"],"description":"The error message if the request failed"},"model_name":{"type":"string","description":"The name of the model used for the prediction"},"model_version":{"type":["string","null"],"description":"The version of the model used"},"prediction":{"type":["array","null"],"items":{"type":"number","format":"float"},"description":"The prediction result, typically an array of floats"},"status":{"description":"The status of the prediction","type":"string","enum":["Success","BadRequest","InternalError"],"title":"PredictStatus"}},"title":"PredictResponse"},"example":{"status":"BadRequest","error_message":"You gave me a bad request :(","model_name":"my_model_name","duration_ms":12}}}},"500":{"description":"Internal server error occurred during prediction","content":{"application/json":{"schema":{"type":"object","required":["status","model_name","duration_ms"],"properties":{"duration_ms":{"type":"integer","description":"The time taken to complete the prediction (in milliseconds)","minimum":0},"error_message":{"type":["string","null"],"description":"The error message if the request failed"},"model_name":{"type":"string","description":"The name of the model used for the prediction"},"model_version":{"type":["string","null"],"description":"The version of the model used"},"prediction":{"type":["array","null"],"items":{"type":"number","format":"float"},"description":"The prediction result, typically an array of floats"},"status":{"description":"The status of the prediction","type":"string","enum":["Success","BadRequest","InternalError"],"title":"PredictStatus"}},"title":"PredictResponse"},"example":{"status":"InternalError","error_message":"Oops, the server couldn't predict","model_name":"my_model_name","duration_ms":12}}}}}} \ No newline at end of file diff --git a/website/docs/api/HTTP/get-model-predict.api.mdx b/website/docs/api/HTTP/get-model-predict.api.mdx deleted file mode 100644 index 46e33c379..000000000 --- a/website/docs/api/HTTP/get-model-predict.api.mdx +++ /dev/null @@ -1,70 +0,0 @@ ---- -id: get-model-predict -title: "ML Prediction" -description: "Make a ML prediction using a specific model." -sidebar_label: "ML Prediction" -hide_title: true -hide_table_of_contents: true -api: eJztV99v2zYQ/leIe1kKKLaTtcCmt2wohgAJVqTdw2AYLkOdLDYUqZJHr4ah/304SomkKNiWAX3zQ2BHx/vB7/vurDsCyV2AfA1X17DJoMCgvG5IOws53MoHFFLc3ojGY6EVPxYxaLsTUoQGlS61ErUr0CwgA9egl3zmuoAcdkjbZNr2zpBBI72skdBzyiNYWSPk3UcGmlM2kip4XsenCgUfEq4UVGGXUZATdVfgqLq/NFVci8evUXssICcfMYOgKqwl5EegQ8NJ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HTTP/runtime -custom_edit_url: null -proxy: http://localhost:8090 ---- - -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import ParamsDetails from "@theme/ParamsDetails"; -import RequestSchema from "@theme/RequestSchema"; -import StatusCodes from "@theme/StatusCodes"; -import OperationTabs from "@theme/OperationTabs"; -import TabItem from "@theme/TabItem"; -import Heading from "@theme/Heading"; -import Translate from "@docusaurus/Translate"; - - - - - - - - - - -Make a ML prediction using a specific model. - - - Request - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/website/docs/api/HTTP/mcp-message.api.mdx b/website/docs/api/HTTP/mcp-message.api.mdx index 91911ee8b..4a780992d 100644 --- a/website/docs/api/HTTP/mcp-message.api.mdx +++ b/website/docs/api/HTTP/mcp-message.api.mdx @@ -5,7 +5,7 @@ description: "Send a JSON-RPC message to the Spice MCP server using the MCP Stre sidebar_label: "Send a Model Context Protocol message" hide_title: true hide_table_of_contents: true -api: eJztVk1vGzcQ/SsDnuJCX3ZyaHVzjRZxUTVC5JwcwUstRxIbLsmSXNmK4P/eGe5qK3uFADnl0oOkXXI482bem6EOIslNFNN7UZVeLAdCYSyD9kk7K6ZigVaBhD8WH/4afpzfQIUxyg1CcpC2CAuvS4TZzRwihh0GqKO2m7zFi4sUUFZyZRDe393NIQVpo3chjeCOTALSi40IOgJqOhQoFDsg+y5iZ/SmkN4bXUqGNv47OltcgKMjFhaL3yDmWGSV8CmNcYc2DZu14mJA8AyWCRXstMzwiuuyRJ8K2KJUGEawoMzIMZTOJm1rnfYMq5Qh6NNjs9IPW9PhreqOi4FwHkPGdquocFTNh7ZYtOdlkBUmDFzpg7D0QjYvfZGZ5pI3HkWfiQafVpSZXmsqVsBUB0voVvsMruWAjAptddLS6K9YUIEUmf5T60CmtBnrVaRXcpOXMabIfFZS20Sfls7X1eAUj17EdC1NxOclLzX0UGIHcTWZ8M9L4D0mR/DxCFxG6LMKa3cihI5/WjzDLTxu0Z5m36xHkEpp9inNUbRxJJ4HhPGqj3HWylp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wvVVON6im6nUsVSgSyruI6liJDh8ZdEwrwggRuY0ODSw3GVyvgXdQkiMmbekJS9DOQMSHliIaMaZ2mfChRcf5GBMn0bPR5FiT6+V8y4aUuI+ipittE+5u5KiTJ6npVk3GY/l6DfxIySF82QPXCY5VhZV/0QgH/X2Ed7SFxxrdy+q78wTaGJKY2u6bNg3VrlCT8eQY46xva52bAg2cCIYDcueF8Q5jgtEBUwKuNYPx4rHnGDREDHZzmtN9fI+SmbYrHxs0zymC3livTX/n7PjOV6dbrn2kJzTd+JSj9dmoqUIJ6Ezw5A4QEpSxdUwNDuVSKfIuUcRc0V0bJcDF/rfMz/n8Eu5xAyH6NRmMQA42vo3dfAdv+h7iuIFH4hqqiLkNtU094g/HiH/3cUnGoOvhfvLpMG+w1rbNgy/MUafgAXRThaG21j+iua194lSCpcQvUf/I10dIyEAsdZfX39RP39RNJiE7yidk1x77x/fYvnf+0Uko/B7y5Lwd/e7y2TuFzzstgb0Hq+MdDmGmv1PTNtAjhURPufoPE5jRr0O12xWqQa697I7gE+elwbWaql5lVaiuw7sV0kYru4I5TEcj6yttpaLpz+Nfxker408xg8E1Wh8amfsu0ks+s6zlYCARpbQbSVe1kXiT8+lAt/cov2/ERm7lpXAmtrLKejWOUovwSZrIwLOLpQpdQrnfb8LzoKsaB5OhgH/ecK8tu0JJ+V3gyXA8HA9al1ieF7EJa412L6L2j9fMG7RSqmwPmEfPvvKHrfAW8lbJzkPH/79+/+b1400QynP6YDU5kSQ36bZv5Gu1PlPF/m+GdKucbbdLnfBrtLudHD+0GHOTFWqtI2VtpeWK/bMovWgoiWH/DP1QwP/+0XyXmTxKx38A8lZUU5Xn77AP5p8XV2q3+wee7F7s sidebar_class_name: "post api-method" info_path: docs/api/HTTP/runtime custom_edit_url: null diff --git a/website/docs/api/HTTP/mcp-stream.api.mdx b/website/docs/api/HTTP/mcp-stream.api.mdx index 93e371874..d5f07ebb3 100644 --- a/website/docs/api/HTTP/mcp-stream.api.mdx +++ b/website/docs/api/HTTP/mcp-stream.api.mdx @@ -5,7 +5,7 @@ description: "Open a long-lived server-to-client SSE stream for the current MCP sidebar_label: "Open an MCP server-to-client SSE stream" hide_title: true hide_table_of_contents: true -api: eJzdVU2P00AM/SvWnEDatF3gAL0hxMdKIFZqOaHVZpq4rcVkZphxsluq/e/YSVp2t8AZcaiajD328/OzszdsN9nMv5qmiubqzNSYq0SRKXgzN58jerDggt8UjjqsIWPqMBUcisoReobF4i1kTmgbWIcEvEWo2pTU9OnNpfjnLLHAZqhxTV5CrHa916K/ZFcO4cNyeQmcrM8xJJ7AUszlpyoWi+F2cVGXsEVbY4KmzQxUS3xa78B6wFvKTH5zTFVJXJY8HVkoLz8vljDtzqdSXzkxZyZETFbLu6ilQDm9HtCLKdpkG2RMSsjeeHkRl4c4xI2UmQGNeUzY6HgASAI4IbfpXt0DgyBOJXliso5+YCmV1OL6vaUkrmLM7SrLq/Kox5g5AwdoLHmW3wNyqyDJfEu80woPUcx8bV3Guys9Ema9uJv53jybzfTvEfBfbXxSMt7yFDvJXQxn5VMI60PvQ6IN+Z5iBdEICLvBPDF3Z+bF7Pw09hdvW97KtR9Yj809dATQ1zHQWKSgzlCmVqppcKKXSq15hVrhmjZt0gBvDs/a/deXF/ANdxBT6Ej1IdTsQptgEanCGOqRWE47uCHeqjr63gg1I+Lnp4jfhbSiWvxGuB9C5qMCO+taBMrgA2s6beoRtBQ1sc6FG6yvt3Irl+BEn2OqF78j55sPNx5kdvA29t1/LH25LLdFmdugmt0g92LlrbyMRMrB0J1Bum1yqlHmOJ9OXaisUyzzl7NXsxPJflSzDGeHLsRG9TZEuk90z1xZFBpR4VxpOhlzUVyfz0a6li7I85XayK+DVsrETkdoJOcktXKbtU/SoaOLk3eRqt4fJ/B1tNUWi2cTBf9rsh5ahCEtfwgsB5NZ0frMul/UFqX+xvp7UYfddhikP261x6D3RqdNfP7P9ci7qOT0GyA6WTRKXi+n/Si5r6Y7F8fxe6G60rP9fmUzfknu7k6PZWGlXg7SFZuo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FSngb3r49bNQz/AKSAmfA= sidebar_class_name: "get api-method" info_path: docs/api/HTTP/runtime custom_edit_url: null diff --git a/website/docs/api/HTTP/mcp-terminate-session.api.mdx b/website/docs/api/HTTP/mcp-terminate-session.api.mdx index f913d7aa1..f76c29d9d 100644 --- a/website/docs/api/HTTP/mcp-terminate-session.api.mdx +++ b/website/docs/api/HTTP/mcp-terminate-session.api.mdx @@ -5,7 +5,7 @@ description: "Terminate the MCP session identified by the `Mcp-Session-Id` heade sidebar_label: "Terminate an MCP Streamable HTTP session" hide_title: true hide_table_of_contents: true -api: eJzNVE1PGzEQ/Ssjn/MFzaHNDVEQSFAhJZxQxDprh7VwbNf2hqZR/nvfbDYJkKhnDqvd9YzH771547XI8iWJ0ZNYlEFMO0LpVEYTsvFOjMREx4VxMmvKlab7ywdKOiXEyCjtspkbrWi2aqLFfRm64224e6sKqrRUOvZoXM+S/l0jnyK/U0400zIa99JsTHKh39WlN2MtMkttlqg6HAzpl8907Wunip7oCB90lAzwVgEicD/nHczntgyygoyoiwizWwuHH2R/xIg0wzS3SMVn9uPPXCNg5Tq6A+mk4xLLSCqMM9lIa/7qgqRTDVcTkYpgOiFB9rSQxmU8H5QtPQ5ztckrJrurIkZzaZPeTHkpBe+QLkZrcT4Y8us08L0uqic2HTEcnB3nPjpZ58pH4FY9mnAj+8uzPmQtSDsVvGlBA0WiItZAt9A93lQwh5lmxHPzUkcucLn7hgZ08XBLr3pFIfolRIwEqitfRxoHU+rgVStUjit0PVdUogZrDaot4m/HiK99nBmFvBbujU955zZaSltrMokcPIPjGmfuQINUT1rr37R6rrArFWRNyu1RJ4R8dK/OvznykaSNOGHVPWh65HjUQSGYrvLsTKUt/NdYMVf4b2XFwtY1W2PW0bIDcw6jft/6UlpGNvo++DE4MuQdh0nppbY+LNhN20rvZW90LLpdrsiIpnxcWUf4qTlPBvOMnuB7yjHj5p55Z5MtD0gr1dHRrHTirqFf+xSLfxiR97fzdRFkWenueY/BH+bmYwQiMf1tYSz0B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kw3yfW9Hv/qKA0dLXBtEg9Can+L/WbTxlvOGthvkn9I9T/svXeVGXx7vMOHmccKB7M/j9+Xi+uLxQX2/V+wkWkt sidebar_class_name: "delete api-method" info_path: docs/api/HTTP/runtime custom_edit_url: null diff --git a/website/docs/api/HTTP/post-batch-predict.RequestSchema.json b/website/docs/api/HTTP/post-batch-predict.RequestSchema.json deleted file mode 100644 index 7aff0a1bb..000000000 --- a/website/docs/api/HTTP/post-batch-predict.RequestSchema.json +++ /dev/null @@ -1 +0,0 @@ -{"title":"Body","body":{"description":"Batch prediction request containing a list of prediction requests for specific models","content":{"application/json":{"schema":{"type":"object","properties":{"predictions":{"type":"array","items":{"type":"object","required":["model_name"],"properties":{"model_name":{"type":"string"}},"title":"PredictRequest"},"description":"The list of prediction requests, each specifying the model to use for the prediction"}},"title":"BatchPredictRequest"},"example":{"predictions":[{"model_name":"drive_stats_a"},{"model_name":"drive_stats_b"}]}}},"required":true}} \ No newline at end of file diff --git a/website/docs/api/HTTP/post-batch-predict.StatusCodes.json b/website/docs/api/HTTP/post-batch-predict.StatusCodes.json deleted file mode 100644 index bfbe0a944..000000000 --- a/website/docs/api/HTTP/post-batch-predict.StatusCodes.json +++ /dev/null @@ -1 +0,0 @@ -{"responses":{"200":{"description":"Batch predictions completed successfully","content":{"application/json":{"schema":{"type":"object","required":["predictions","duration_ms"],"properties":{"duration_ms":{"type":"integer","minimum":0},"predictions":{"type":"array","items":{"type":"object","required":["status","model_name","duration_ms"],"properties":{"duration_ms":{"type":"integer","description":"The time taken to complete the prediction (in milliseconds)","minimum":0},"error_message":{"type":["string","null"],"description":"The error message if the request failed"},"model_name":{"type":"string","description":"The name of the model used for the prediction"},"model_version":{"type":["string","null"],"description":"The version of the model used"},"prediction":{"type":["array","null"],"items":{"type":"number","format":"float"},"description":"The prediction result, typically an array of floats"},"status":{"description":"The status of the prediction","type":"string","enum":["Success","BadRequest","InternalError"],"title":"PredictStatus"}},"title":"PredictResponse"}}},"title":"BatchPredictResponse"},"example":{"duration_ms":81,"predictions":[{"status":"Success","model_name":"drive_stats_a","model_version":"1.0","prediction":[0.45,0.5,0.55],"duration_ms":42},{"status":"Success","model_name":"drive_stats_b","model_version":"1.0","prediction":[0.43,0.51,0.53],"duration_ms":42}]}}}},"500":{"description":"Internal server error occurred during batch prediction","content":{"text/plain":{"schema":{"type":"string"},"example":"An unexpected error occurred while processing batch predictions"}}}}} \ No newline at end of file diff --git a/website/docs/api/HTTP/post-batch-predict.api.mdx b/website/docs/api/HTTP/post-batch-predict.api.mdx deleted file mode 100644 index b2cf650ac..000000000 --- a/website/docs/api/HTTP/post-batch-predict.api.mdx +++ /dev/null @@ -1,70 +0,0 @@ ---- -id: post-batch-predict -title: "Batch ML Predictions" -description: "Perform a batch of ML predictions, using multiple models, in one request. This is useful for ensembling or A/B testing different models." -sidebar_label: "Batch ML Predictions" -hide_title: true -hide_table_of_contents: true -api: eJzNVk1v2zgQ/SvEnHYBxnbSBujqlhQ9BEixQZM9GYZLUyOLLUWq/HBiGPrvi6GklWS72RbdwxqI4fBj5s3Mm8c5QBBbD9kSbu5gxSFHL52qg7IGMnhAV1hXMcE2IsiS2YJ9vGe1w1xJOuI5i16ZLauiDqrWyCqbo/acKcOsQebwW0QfZuypVJ4pz6LHImpWWMfQeKw2mq5bx27mtyygD/RvrooCHZrQmZsBB1ujE+TzLocMauvDOmFad2iAQ+fs1uZ7yA5HodymAAboPTQmrQlCGfIrmFY+UJSn53zC7GuUqlCyAwYc6DqaQA5FXWslE8j5F09eD+BliZWgX2FfI2RgN18woa0dhRQUetod5XR0WDgn9sBBBaz8OSMETjnMqYAJ0tqICqmQU/OjvcGKD06ZLTQNh6CCpqWHFsanNmZojgnxVOJrOeIMhSy7LO0ppaHsOMGCpeKnLNLicHsCIJXpFAW+iKrWeJKp5TQ0yJ3a4doHEfxaQMNf2d5As2rI9ZDD4CKmBV9b49vMXS0W/04mz6QlfAFz5qOU6H0Rtd7/Cj/GpR3HzCGPbSesK39a6fHmYFWZgFt0wKFSRlWxgmzR8P+CdZTMSKhGif5FiKeUC6pCFsRXNESjPtdHPGK/KcMqpbXyKK3J/e/H4aJz1q0r9F5sR42w7DuBg4lan8ogQUh3WXeXqSI57zWkEEpjTkR9rdHOmaWT1ExDn0SP+dku6Y3v0HnVsucn8He3Tn3BhAdjqz0PeqPHfDCx2qSC0RshAmRQaCu+oxoTtfBRB87CvlZSaL1nwrDkjNAlG56MdNQ66T4y1+710Yzw85Oko6H6L+GxbUzgcCvyXls43JmAzgj9gQpMYR5p4WOL4qxKtjoBzfcVrD8xkbBJA7y75Cea1kc+wvyKzJ0QAy5nC5hWdbmYvb3mi1n6u15NOzR7e0VS+TNeNz/s9Q15vKSvN2fckgQ3HK7PqWxfGebR7dB1LWiljM5hzvJIBe4mkwkDRpob8CXMay3UebXtn8BReeDGsGjwpUZJcn7k9LlUmvhmKUHn3BNTKKIKQ2n7UYXSIkIJGcx3l/NhYmkDa2senYYMyhDqbD7XVgpdWh+yd4s/FifKcU/bLMcdaltXNCi1lmbsvTWF2kaH7FmFkn2+uCCLn2fQrMidjE6FffInarX+ivR7RXv0IH0aBqgPP/jg9glcNRyUKWzKbdcJLhoS7rO652slMWfDEa0kDYR0vzN9UwtZ4sVVYpXK0QRVKHTTnYbDQMCr2WK2uIjGB7HRqeko+ZUwI6vt0/3xnj1M39QxwsPAoP/TCNxxdkTphre0OXT0WsLucmhBEjPiEK0fDhvh8S+nm4aWv0V0qfQcdsKplC4iAocSRU5JXh4gsQPet6m4eCLvdFzHNCQcDzOkIO2NGymxDq+eXY0a5OHPxyfgsOnGdoqXyCOeadIQz5BBGv//mVLS2gG0MNuY3nFobdLnbxswfRg= -sidebar_class_name: "post api-method" -info_path: docs/api/HTTP/runtime -custom_edit_url: null -proxy: http://localhost:8090 ---- - -import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; -import ParamsDetails from "@theme/ParamsDetails"; -import RequestSchema from "@theme/RequestSchema"; -import StatusCodes from "@theme/StatusCodes"; -import OperationTabs from "@theme/OperationTabs"; -import TabItem from "@theme/TabItem"; -import Heading from "@theme/Heading"; -import Translate from "@docusaurus/Translate"; - - - - - - - - - - -Perform a batch of ML predictions, using multiple models, in one request. This is useful for ensembling or A/B testing different models. - - - Request - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/website/docs/api/HTTP/sidebar.ts b/website/docs/api/HTTP/sidebar.ts index 742fb51cc..80e4ce6ac 100644 --- a/website/docs/api/HTTP/sidebar.ts +++ b/website/docs/api/HTTP/sidebar.ts @@ -40,18 +40,6 @@ const sidebar: SidebarsConfig = { label: "List Models", className: "api-method get", }, - { - type: "doc", - id: "api/HTTP/get-model-predict", - label: "ML Prediction", - className: "api-method get", - }, - { - type: "doc", - id: "api/HTTP/post-batch-predict", - label: "Batch ML Predictions", - className: "api-method post", - }, { type: "doc", id: "api/HTTP/post-responses", diff --git a/website/public/openapi.json b/website/public/openapi.json index 036ea47f1..101ddef8c 100644 --- a/website/public/openapi.json +++ b/website/public/openapi.json @@ -1023,82 +1023,6 @@ } } }, - "/v1/models/{name}/predict": { - "get": { - "tags": [ - "AI" - ], - "summary": "ML Prediction", - "description": "Make a ML prediction using a specific model.", - "operationId": "get_model_predict", - "parameters": [ - { - "name": "name", - "in": "path", - "description": "The name of the model to make a prediction with.", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Prediction made successfully", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PredictResponse" - }, - "example": { - "status": "Success", - "model_name": "my_model_name", - "model_version": "1.0", - "prediction": [ - 0.45, - 0.5, - 0.55 - ], - "duration_ms": 123 - } - } - } - }, - "400": { - "description": "Invalid request to the model", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PredictResponse" - }, - "example": { - "status": "BadRequest", - "error_message": "You gave me a bad request :(", - "model_name": "my_model_name", - "duration_ms": 12 - } - } - } - }, - "500": { - "description": "Internal server error occurred during prediction", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PredictResponse" - }, - "example": { - "status": "InternalError", - "error_message": "Oops, the server couldn't predict", - "model_name": "my_model_name", - "duration_ms": 12 - } - } - } - } - } - } - }, "/v1/nsql": { "post": { "tags": [ @@ -1299,87 +1223,6 @@ } } }, - "/v1/predict": { - "post": { - "tags": [ - "AI" - ], - "summary": "Batch ML Predictions", - "description": "Perform a batch of ML predictions, using multiple models, in one request. This is useful for ensembling or A/B testing different models.", - "operationId": "post_batch_predict", - "requestBody": { - "description": "Batch prediction request containing a list of prediction requests for specific models", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BatchPredictRequest" - }, - "example": { - "predictions": [ - { - "model_name": "drive_stats_a" - }, - { - "model_name": "drive_stats_b" - } - ] - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "Batch predictions completed successfully", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BatchPredictResponse" - }, - "example": { - "duration_ms": 81, - "predictions": [ - { - "status": "Success", - "model_name": "drive_stats_a", - "model_version": "1.0", - "prediction": [ - 0.45, - 0.5, - 0.55 - ], - "duration_ms": 42 - }, - { - "status": "Success", - "model_name": "drive_stats_b", - "model_version": "1.0", - "prediction": [ - 0.43, - 0.51, - 0.53 - ], - "duration_ms": 42 - } - ] - } - } - } - }, - "500": { - "description": "Internal server error occurred during batch prediction", - "content": { - "text/plain": { - "schema": { - "type": "string" - }, - "example": "An unexpected error occurred while processing batch predictions" - } - } - } - } - } - }, "/v1/ready": { "get": { "tags": [ @@ -2696,37 +2539,6 @@ "assistant" ] }, - "BatchPredictRequest": { - "type": "object", - "properties": { - "predictions": { - "type": "array", - "items": { - "$ref": "#/components/schemas/PredictRequest" - }, - "description": "The list of prediction requests, each specifying the model to use for the prediction" - } - } - }, - "BatchPredictResponse": { - "type": "object", - "required": [ - "predictions", - "duration_ms" - ], - "properties": { - "duration_ms": { - "type": "integer", - "minimum": 0 - }, - "predictions": { - "type": "array", - "items": { - "$ref": "#/components/schemas/PredictResponse" - } - } - } - }, "Billing": { "type": "object", "required": [ @@ -9622,73 +9434,6 @@ } } }, - "PredictRequest": { - "type": "object", - "required": [ - "model_name" - ], - "properties": { - "model_name": { - "type": "string" - } - } - }, - "PredictResponse": { - "type": "object", - "required": [ - "status", - "model_name", - "duration_ms" - ], - "properties": { - "duration_ms": { - "type": "integer", - "description": "The time taken to complete the prediction (in milliseconds)", - "minimum": 0 - }, - "error_message": { - "type": [ - "string", - "null" - ], - "description": "The error message if the request failed" - }, - "model_name": { - "type": "string", - "description": "The name of the model used for the prediction" - }, - "model_version": { - "type": [ - "string", - "null" - ], - "description": "The version of the model used" - }, - "prediction": { - "type": [ - "array", - "null" - ], - "items": { - "type": "number", - "format": "float" - }, - "description": "The prediction result, typically an array of floats" - }, - "status": { - "$ref": "#/components/schemas/PredictStatus", - "description": "The status of the prediction" - } - } - }, - "PredictStatus": { - "type": "string", - "enum": [ - "Success", - "BadRequest", - "InternalError" - ] - }, "PredictionContent": { "oneOf": [ {