A partire dal 29 aprile 2025, i modelli Gemini 1.5 Pro e Gemini 1.5 Flash non sono disponibili nei progetti che non li hanno mai utilizzati, inclusi i nuovi progetti. Per maggiori dettagli, vedi Versioni e ciclo di vita dei modelli.
Facoltativo. L'endpoint di base Vertex AI da utilizzare per la richiesta. Se non viene specificato, verrà utilizzato l'endpoint regionalizzato predefinito (ad es. us-central1-aiplatform.googleapis.com).
generationConfig
generationConfig?: GenerationConfig;
Facoltativo. La configurazione da utilizzare per la generazione.
[[["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 2024-05-17 UTC."],[],[],null,["# Interface GetGenerativeModelParams (1.9.0)\n\nParams used to call the getGenerativeModel method. \n\nInheritance\n-----------\n\n[BaseModelParams](/vertex-ai/generative-ai/docs/reference/nodejs/latest/vertexai/basemodelparams) \\\u003e [ModelParams](/vertex-ai/generative-ai/docs/reference/nodejs/latest/vertexai/modelparams) \\\u003e GetGenerativeModelParams\n\nPackage\n-------\n\n[@google-cloud/vertexai](../overview.html)\n\nProperties\n----------\n\n### apiEndpoint\n\n apiEndpoint?: string;\n\nOptional. The base Vertex AI endpoint to use for the request. If not provided, the default regionalized endpoint (i.e. us-central1-aiplatform.googleapis.com) will be used.\n\n### generationConfig\n\n generationConfig?: GenerationConfig;\n\nOptional. The configuration to use for generation.\n\n### googleAuth\n\n googleAuth: GoogleAuth;\n\nGoogleAuth class instance that handles authentication. Details about GoogleAuth is referred to \u003chttps://github.com/googleapis/google-auth-library-nodejs/blob/main/src/auth/googleauth.ts\u003e\n\n### location\n\n location: string;\n\nThe Google Cloud project location to use for the request.\n\n### model\n\n model: string;\n\nThe name of the model to get.\n\n### project\n\n project: string;\n\nThe Google Cloud project to use for the request.\n\n### requestOptions\n\n requestOptions?: RequestOptions;\n\nOptional. The request options to use for generation.\n\n### safetySettings\n\n safetySettings?: SafetySetting[];\n\nOptional. The safety settings to use for generation.\n\n### systemInstruction\n\n systemInstruction?: string | Content;\n\nOptional. The user provided system instructions for the model. Note: only text should be used in parts of [Content](/vertex-ai/generative-ai/docs/reference/nodejs/latest/vertexai/content)\n\n### toolConfig\n\n toolConfig?: ToolConfig;\n\nOptional. This config is shared for all tools provided in the request.\n\n### tools\n\n tools?: Tool[];\n\nOptional. The tools to use for generation."]]