Skip to content

GoogleModelCapability

Namespace: Vercel.AI.Google

public static class GoogleModelCapability

Classifies Gemini model ids. Unknown future Gemini ids inherit the newest behavior.

Inheritance: object

View source

public static GoogleModelCapabilities Get(string modelId)

Classifies <code class=“paramref”>modelId</code>.

Parameters

Name Type Description
modelId string

Returns: GoogleModelCapabilities

View source

public static bool IsGemma(string modelId)

True when the id is a Gemma model.

Parameters

Name Type Description
modelId string

Returns: bool

View source

Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product