GoogleAiModel.Create

GoogleAiModel Create method. Creates GoogleAiModel with the specified AiModelType.

Create(AiModelType, string)

Creates GoogleAiModel with the specified AiModelType.

public static GoogleAiModel Create(AiModelType modelType, string apiKey)

Remarks

GeminiFlashLatest, GeminiProLatest are applicable.

See Also


Create(string, string, string)

Creates GoogleAiModel wit custom model url and name.

public static GoogleAiModel Create(string url, string name, string apiKey)
ParameterTypeDescription
urlStringUrl to the model.
nameStringName of the model.
apiKeyStringModel api key.

See Also