Skip to content

Commit

Permalink
Merge pull request #1 from BinaryGivens/main
Browse files Browse the repository at this point in the history
added comments
  • Loading branch information
7empestx authored Apr 12, 2024
2 parents b814f25 + 9cc9cfa commit 6ce63b9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Gemini/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ import { Context, APIGatewayProxyResult, APIGatewayEvent } from 'aws-lambda';
dotenv.config();

const genAI = new GoogleGenerativeAI(process.env.GEMINI_API_KEY as string);

// assessment question
//
async function generateAssessmentQuestion(): Promise<string> {
const model = genAI.getGenerativeModel({ model: 'gemini-pro' });
const prompt = 'Write a prompt for a beginner-level Spanish language assessment question.';
Expand Down

0 comments on commit 6ce63b9

Please sign in to comment.