Interface GenerateContentRequest (1.9.0)

Params used to call the generateContent method.

Inheritance

BaseModelParams > GenerateContentRequest

Package

@google-cloud/vertexai

Properties

cachedContent

cachedContent?: string;

Optional. The name of the cached content used as context to serve the prediction. This is the name of a CachedContent and not the cache object itself.

contents

contents: Content[];

Array of Content.

systemInstruction

systemInstruction?: string | Content;

Optional. The user provided system instructions for the model. Note: only text should be used in parts of Content