AIDK API Reference / aidk-google / convertBlocksToGoogleParts
Function: convertBlocksToGoogleParts() ​
ts
function convertBlocksToGoogleParts(blocks: ContentBlock[]): any[];Defined in: packages/adapters/google/src/google.ts:151
Convert ContentBlocks to Google GenAI parts
Parameters ​
| Parameter | Type |
|---|---|
blocks | ContentBlock[] |
Returns ​
any[]