Adds a collection of Part objects to the latest Content in the IContentsRequest with the specified role.
If no Content exists, a new one is created with the provided Part collection.
Definition
Namespace:GenerativeAI Assembly: GenerativeAI (in GenerativeAI.dll) Version: 2.0.2+aa51399cad6d90cc71158d589a6268608b3c1893