Class GeminiContentPart.Blob
Interface for sending an image.
Inherited Members
Namespace: Glitch9.AIDevKit.Google
Assembly: Glitch9.AIDevKit.Provider.Google.dll
Syntax
public class GeminiContentPart.Blob
Properties
| Edit this page View SourceData
Image as a base64 string.
Declaration
[JsonProperty("data")]
public string Data { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
IsImage
Declaration
[JsonIgnore]
public bool IsImage { get; }
Property Value
| Type | Description |
|---|---|
| bool |
MimeType
MimeType of Image
Declaration
[JsonProperty("mimeType")]
public MimeType MimeType { get; set; }
Property Value
| Type | Description |
|---|---|
| MimeType |