Skip to content

Commit 9e3cb02

Browse files
added comments for variables
1 parent 679c004 commit 9e3cb02

File tree

1 file changed

+1
-1
lines changed
  • ej2-asp-core-mvc/code-snippet/ai-assistview/ai-integrations/gemini-ai

1 file changed

+1
-1
lines changed

ej2-asp-core-mvc/code-snippet/ai-assistview/ai-integrations/gemini-ai/geminimvc.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public async Task<IActionResult> GetAIResponse([FromBody] PromptRequest request)
4242

4343
string apiKey = ""; // Replace with your key
4444
var googleAI = new GoogleAI(apiKey: apiKey);
45-
var model = googleAI.GenerativeModel(model: Model.Gemini15Flash);
45+
var model = googleAI.GenerativeModel(model: Model.Gemini15Flash); //Replace Your Model Name Here
4646

4747
var responseText = await model.GenerateContent(request.Prompt);
4848

0 commit comments

Comments
 (0)