GooglePrompt
Namespace: Vercel.AI.Google
public sealed class GooglePromptGemini contents plus an optional system instruction.
Inheritance: object
Constructors
Section titled “Constructors”GooglePrompt(JsonArray, JsonObject?)
Section titled “GooglePrompt(JsonArray, JsonObject?)”public GooglePrompt(JsonArray contents, JsonObject? systemInstruction)Creates a prompt.
Parameters
| Name | Type | Description |
|---|---|---|
contents |
JsonArray | |
systemInstruction |
JsonObject |
Properties
Section titled “Properties”Contents
Section titled “Contents”public JsonArray Contents { get; }Conversation contents.
Value: JsonArray
SystemInstruction
Section titled “SystemInstruction”public JsonObject? SystemInstruction { get; }System instruction, omitted for Gemma.
Value: JsonObject
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product