GoogleGeneratedFile
Namespace: Vercel.AI.Google
public sealed class GoogleGeneratedFile : GeneratedFileA generated file, including thought images.
Inheritance: object → GeneratedContent → GeneratedFile
Constructors
Section titled “Constructors”GoogleGeneratedFile(byte[], string, bool, JsonElement?)
Section titled “GoogleGeneratedFile(byte[], string, bool, JsonElement?)”public GoogleGeneratedFile(byte[] data, string mediaType, bool thought, JsonElement? providerMetadata)Creates a file.
Parameters
| Name | Type | Description |
|---|---|---|
data |
byte[] | |
mediaType |
string | |
thought |
bool | |
providerMetadata |
JsonElement? |
Properties
Section titled “Properties”ProviderMetadata
Section titled “ProviderMetadata”public JsonElement? ProviderMetadata { get; }Provider metadata.
Value: JsonElement?
Thought
Section titled “Thought”public bool Thought { get; }True when the file was part of the model’s thoughts.
Value: bool
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product