// 2. AI Screening Results (Structured JSON from Gemini) export interface AIScreeningResult { score: number; // Scale of 0 to 100 skillsMatched: string[]; experienceYears: number; reasoning: string; // Natural Language Explanation for HR isFlagged: boolean; // Used for Bias mitigation or Fraud detection }
// 3. Job Requirements Structure export interface JobListing { id: string; title: string; requirements: string[]; minScore: number; } Use code with caution.
- Gemini AI Service (Prompt Engineering) Example of the TypeScript logic used to communicate with the Gemini API: typescript import { GoogleGenerativeAI } from "@google/generative-ai";
const genAI = new GoogleGenerativeAI(process.env.GEMINI_API_KEY!);
Log in or sign up for Devpost to join the conversation.