GoogleModelCapability
Namespace: Vercel.AI.Google
public static class GoogleModelCapabilityClassifies Gemini model ids. Unknown future Gemini ids inherit the newest behavior.
Inheritance: object
Methods
Section titled “Methods”Get(string)
Section titled “Get(string)”public static GoogleModelCapabilities Get(string modelId)Classifies <code class=“paramref”>modelId</code>.
Parameters
| Name | Type | Description |
|---|---|---|
modelId |
string |
Returns: GoogleModelCapabilities
IsGemma(string)
Section titled “IsGemma(string)”public static bool IsGemma(string modelId)True when the id is a Gemma model.
Parameters
| Name | Type | Description |
|---|---|---|
modelId |
string |
Returns: bool
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product