Table of Contents

Class FunctionResponseBlob

Namespace
GenerativeAI.Types
Assembly
GenerativeAI.dll

Raw media bytes for function response. Text should not be sent as raw bytes, use the FunctionResponse.response field.

public class FunctionResponseBlob
Inheritance
FunctionResponseBlob
Inherited Members
Extension Methods

Properties

Data

Required. Inline media bytes. A base64-encoded string.

[JsonPropertyName("data")]
public string? Data { get; set; }

Property Value

string

MimeType

Required. The IANA standard MIME type of the source data.

[JsonPropertyName("mimeType")]
public string? MimeType { get; set; }

Property Value

string