GoogleAIPlatformAdapterCreateUrlForModel Method
Constructs a URL for a specific AI model and task by appending the model ID and task
to the base URL and API version.
Namespace: GenerativeAIAssembly: GenerativeAI (in GenerativeAI.dll) Version: 2.0.2+aa51399cad6d90cc71158d589a6268608b3c1893
public string CreateUrlForModel(
string modelId,
string task
)
- modelId String
- The identifier of the model for which the URL is being constructed.
- task String
- The specific task associated with the model (e.g., generateText).
StringA string representing the complete URL for the given model and task.
IPlatformAdapterCreateUrlForModel(String, String)