[Missing <summary> documentation for "T:GenerativeAI.ContentExtensions"]
public static class ContentExtensions| AddInlineData | Adds inline data (for images, audio, etc.) as a new Part to this Content. |
| AddInlineFile | |
| AddPart | Adds a single Part to this Content. |
| AddParts | Adds multiple Part objects to this Content. |
| AddRemoteFile(Content, RemoteFile) | Adds a remote file to the GenerateContentRequest using its URL and MIME type. |
| AddRemoteFile(Content, String, String) | Adds a remote file reference as a new Part to this Content. |
| AddText | Adds a single text Part to this Content. |
| ExtractCodeBlocks | Extracts all CodeBlock from the text Parts of Content object. |
| ExtractJsonBlocks | Extracts all JSON string from the text Parts of Content object. |
| ToObjectT | Converts the JSON content of a Content object into an instance of the specified type. |