Project

General

Profile

Actions

Improvement #30075

open

Improvement #29635: Code Review, Upgrade and changes in Prompt of Email Boat

Step 2 (Part A) - AI Data Extraction

Added by Sachin Suresh 5 months ago. Updated 5 months ago.

Status:
Fixed not Tested
Priority:
Normal
Assignee:
Target version:
-
Start date:
11/18/2025
Due date:
11/28/2025 (about 5 months late)
% Done:

100%

Estimated time:
24:00 h
Spent time:
remarks:
DB Changes:
Keys & Permissions:
Areas Affected:
Files Changed:

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.

Actions #1

Updated by Sachin Suresh 5 months ago

  • Status changed from Assigned to In Progress
Actions #2

Updated by Sachin Suresh 5 months ago

  • % Done changed from 0 to 50
Actions #3

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

Actions #4

Updated by Sachin Suresh 5 months ago

  • Status changed from On hold to Fixed not Tested
  • % Done changed from 80 to 100
Actions #5

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
Actions #6

Updated by Sachin Suresh 5 months ago

Need to update instructions to fix user spelling errors for
city names,airline names

Actions #7

Updated by Sachin Suresh 5 months ago

  • Status changed from In Progress to Fixed not Tested
  • % Done changed from 80 to 100

implemented

Actions

Also available in: Atom PDF