Improvement #30075
openImprovement #29635: Code Review, Upgrade and changes in Prompt of Email Boat
Step 2 (Part A) - AI Data Extraction
100%
Description
Task 3.1: Install Google Gemini SDK (npm install @google/genai).
Task 3.2: Create config/aiSchema.js to define the JSON structure.
Task 3.3: Create config/systemInstruction.txt with the optimized, minimal-output prompt.
Task 3.4: Create services/aiProcessor.js.
Task 3.5: Implement loadSystemInstruction (using fs/promises) to read the prompt file.
Task 3.6: Implement getFlightParams to call the Gemini API using responseJsonSchema and the loaded prompt.
Task 3.7: Implement retry logic in getFlightParams to handle 503/429 errors.
Updated by Sachin Suresh 5 months ago
- Status changed from Assigned to In Progress
Updated by Sachin Suresh 5 months ago
- Status changed from In Progress to On hold
- % Done changed from 50 to 80
ALL tasks has been completed and need to change prompt and standardization script according to the new test cases
Updated by Sachin Suresh 5 months ago
- Status changed from On hold to Fixed not Tested
- % Done changed from 80 to 100
Updated by Sachin Suresh 5 months ago
- Due date set to 11/28/2025
- Status changed from Fixed not Tested to In Progress
- % Done changed from 100 to 80
Updated by Sachin Suresh 5 months ago
Need to update instructions to fix user spelling errors for
city names,airline names
Updated by Sachin Suresh 5 months ago
- Status changed from In Progress to Fixed not Tested
- % Done changed from 80 to 100
implemented