GoogleFileAssistantPart
Namespace: Vercel.AI.Google
public sealed class GoogleFileAssistantPart : GoogleAssistantPartAn assistant file or reasoning file.
Inheritance: object → GoogleAssistantPart
Constructors
Section titled “Constructors”GoogleFileAssistantPart(string, string, bool)
Section titled “GoogleFileAssistantPart(string, string, bool)”public GoogleFileAssistantPart(string mediaType, string kind, bool reasoning)Creates a file part.
Parameters
| Name | Type | Description |
|---|---|---|
mediaType |
string | |
kind |
string | |
reasoning |
bool |
Properties
Section titled “Properties”public byte[]? Data { get; set; }Inline bytes.
Value: byte[]
public string Kind { get; }url, data, text, or reference.
Value: string
MediaType
Section titled “MediaType”public string MediaType { get; }Media type.
Value: string
Reasoning
Section titled “Reasoning”public bool Reasoning { get; }True for a reasoning file.
Value: bool
Reference
Section titled “Reference”public IReadOnlyDictionary<string, string>? Reference { get; set; }Map from provider name to an uploaded file id. The google entry is the file URI.
Value: IReadOnlyDictionary<string, string>
public string? Text { get; set; }Inline text.
Value: string
public string? Url { get; set; }Remote URL.
Value: string
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product