L'input di previsione. Supporta le intestazioni HTTP e il payload di dati arbitrario.
Un modello di cui è stato eseguito il deployment potrebbe avere un limite superiore al numero di istanze supportate per richiesta. Quando questo limite viene superato per un modello AutoML, il metodo RawPredict restituisce un errore. Quando questo limite viene superato per un modello addestrato personalizzato, il comportamento varia a seconda del modello.
Puoi specificare lo schema per ogni istanza nel campo PredictSchemata quando crei un modello. Questo schema viene applicato quando esegui il deployment di Model come DeployedModel in un endpoint e utilizzi il metodo RawPredict.
[[["Facile da capire","easyToUnderstand","thumb-up"],["Il problema è stato risolto","solvedMyProblem","thumb-up"],["Altra","otherUp","thumb-up"]],[["Difficile da capire","hardToUnderstand","thumb-down"],["Informazioni o codice di esempio errati","incorrectInformationOrSampleCode","thumb-down"],["Mancano le informazioni o gli esempi di cui ho bisogno","missingTheInformationSamplesINeed","thumb-down"],["Problema di traduzione","translationIssue","thumb-down"],["Altra","otherDown","thumb-down"]],["Ultimo aggiornamento 2025-07-31 UTC."],[[["\u003cp\u003eThe \u003ccode\u003ePredictionService.RawPredict\u003c/code\u003e method utilizes a JSON request message for making predictions.\u003c/p\u003e\n"],["\u003cp\u003eThe request requires an \u003ccode\u003eendpoint\u003c/code\u003e string, specifying the target endpoint's name in the format \u003ccode\u003eprojects/{project}/locations/{location}/endpoints/{endpoint}\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ehttpBody\u003c/code\u003e field, which is of the type \u003ccode\u003eHttpBody\u003c/code\u003e, carries the prediction input, including headers and the data payload.\u003c/p\u003e\n"],["\u003cp\u003eThe number of instances a DeployedModel supports per request has limits, varying between AutoML and custom-trained models, and has specific behaviors if exceeded.\u003c/p\u003e\n"],["\u003cp\u003eEach instance's schema can be defined when creating the model, applicable when deployed to an endpoint and utilized with \u003ccode\u003eRawPredict\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# RawPredictRequest\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\nRequest message for `PredictionService.RawPredict`."]]