GoogleAIPlatformAdapterGetBaseUrl Method
Constructs and retrieves the base URL for the Google Generative AI platform,
optionally appending the API version to the URL.
Namespace: GenerativeAIAssembly: GenerativeAI (in GenerativeAI.dll) Version: 2.0.2+aa51399cad6d90cc71158d589a6268608b3c1893
public string GetBaseUrl(
bool appendVesion = true
)
- appendVesion Boolean (Optional)
- A boolean value indicating whether the API version should be appended to the base URL.
StringThe base URL for the Google Generative AI platform, with or without the API version appended, based on the parameter value.
IPlatformAdapterGetBaseUrl(Boolean)