GenAIGetPlatformAdapter Method

Retrieves the platform adapter associated with this instance. The platform adapter provides core functionalities, such as authorization, URL creation, and API version management, for interacting with the underlying platform.

Definition

Namespace: GenerativeAI
Assembly: GenerativeAI (in GenerativeAI.dll) Version: 2.0.2+aa51399cad6d90cc71158d589a6268608b3c1893
C#
public IPlatformAdapter GetPlatformAdapter()

Return Value

IPlatformAdapter
The platform adapter instance implementing IPlatformAdapter.

See Also