GoogleToolContentPart
Namespace: Vercel.AI.Google
public sealed class GoogleToolContentPartOne multimodal tool-result part.
Inheritance: object
Constructors
Section titled “Constructors”GoogleToolContentPart(string)
Section titled “GoogleToolContentPart(string)”public GoogleToolContentPart(string type)Creates a content part.
Parameters
| Name | Type | Description |
|---|---|---|
type |
string |
Properties
Section titled “Properties”public byte[]? Data { get; set; }Inline bytes.
Value: byte[]
DataKind
Section titled “DataKind”public string? DataKind { get; set; }data or url.
Value: string
MediaType
Section titled “MediaType”public string? MediaType { get; set; }Media type of a file.
Value: string
public string? Text { get; set; }Text, when Type is text.
Value: string
public string Type { get; }text or file.
Value: string
public string? Url { get; set; }URL or data URL.
Value: string
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product