Project

General

Profile

Actions

Improvement #29635

open

Code Review, Upgrade and changes in Prompt of Email Boat

Added by Vivek V 5 months ago. Updated 4 months ago.

Status:
In Progress
Priority:
Normal
Assignee:
Target version:
-
Start date:
11/14/2025
Due date:
12/12/2025 (about 4 months late)
% Done:

91%

Estimated time:
120:00 h (Total: 285:30 h)
Spent time:
64:30 h (Total: 175:00 h)
remarks:
DB Changes:
Keys & Permissions:
Areas Affected:
Files Changed:

Subtasks 23 (23 open0 closed)

Improvement #30073: Project Setup & Core InfrastructureFixed not TestedSachin Suresh11/14/2025

Actions
Improvement #30074: Email Polling ModuleFixed not TestedSachin Suresh11/18/202511/25/2025

Actions
Improvement #30075: Step 2 (Part A) - AI Data ExtractionFixed not TestedSachin Suresh11/18/202511/28/2025

Actions
Improvement #30077: Step 2 (Part B) - Data Standardization UtilitiesFixed not TestedSachin Suresh11/18/2025

Actions
Improvement #30078: Step 2 (Part C) - Final Payload ConstructionFixed not TestedSachin Suresh11/18/2025

Actions
Improvement #30079: Step 3 - Flight API ServiceFixed not TestedSachin Suresh11/18/202511/26/2025

Actions
Improvement #30080: Testing & API RoutesFixed not TestedSachin Suresh11/18/202511/27/2025

Actions
Improvement #30081: Step 4 - Results FilteringFixed not TestedSachin Suresh11/18/202511/21/2025

Actions
Improvement #30083: Step 5 & 6 - Email Generation & SendingFixed not TestedSachin Suresh11/18/202511/27/2025

Actions
Improvement #30085: Implement authentication to secure all API routes.AssignedSachin Suresh11/18/2025

Actions
Improvement #30414: Feature: Implement Logging Service for ML Data Collection and DebuggingFixed not TestedSachin Suresh11/25/202511/27/2025

Actions
Improvement #30520: Departure Date Parsing for Relative DatesFixed not TestedSachin Suresh11/27/202511/27/2025

Actions
Improvement #30550: Release support and Server bug fixingFixed not TestedSachin Suresh11/27/2025

Actions
Improvement #30576: Debug the promts and make sure the results are as expected Fixed not TestedSachin Suresh11/28/202512/02/2025

Actions
Improvement #30581: Optimization: Pre-Index Airline Cache for Faster Fuzzy MatchingFixed not TestedSachin Suresh11/28/202511/28/2025

Actions
Improvement #30582: Optimization: Utilize API's Native IsDirect Filter & Deprecate Local Direct Flight CheckFixed not TestedSachin Suresh11/28/2025

Actions
Improvement #30585: Feature: Implement End-to-End Refundable Flight Filtering and DisplayFixed not TestedSachin Suresh11/28/202511/28/2025

Actions
Improvement #30626: Implement Full End-to-End Multicity Flight Search CapabilityFixed not TestedSachin Suresh11/28/202512/01/2025

Actions
Improvement #30680: Implement in policy out policy filtering in flight results with mock dataFixed not TestedSachin Suresh12/03/202512/05/2025

Actions
Improvement #30824: integrate real api insted of mock apiFixed not TestedSachin Suresh12/03/202512/04/2025

Actions
Improvement #30825: implement token service for policy with emailFixed not TestedSachin Suresh12/03/202512/05/2025

Actions
Improvement #30848: Extract Purpose of Travel from User EmailFixed not TestedSachin Suresh12/04/202512/05/2025

Actions
Improvement #30892: Code optimizationsFixed not TestedSachin Suresh12/05/202512/12/2025

Actions
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

  • Status changed from In Progress to On hold
Actions #3

Updated by Sachin Suresh 5 months ago

  • Status changed from On hold to In Progress
Actions #4

Updated by Sachin Suresh 5 months ago

Code study and review

Actions #5

Updated by Sachin Suresh 5 months ago

  • % Done changed from 0 to 70

prompt improvement and promt size has been reduced
found issues with ai to to produce random number,logic implemented in node itself

Actions #6

Updated by Vivek V 5 months ago

  • Due date changed from 11/07/2025 to 11/11/2025
  • Estimated time changed from 16:00 h to 24:00 h
Actions #7

Updated by Vivek V 5 months ago

  • Due date changed from 11/11/2025 to 11/14/2025
  • Estimated time changed from 24:00 h to 40:00 h
Actions #8

Updated by Sachin Suresh 5 months ago

  • Status changed from In Progress to On hold
Actions #9

Updated by Sachin Suresh 5 months ago

  • Status changed from On hold to In Progress
Actions #10

Updated by Sachin Suresh 5 months ago

As discussed with ifthik it is decided to re implenet the Email bot
as 4 modules
1>Email process
2>Extract details from Email using AI
3>Get flight results from api
4>process and replay mail

As this project is not based on Gmail ,its difficult to add new features and maintain code

Actions #11

Updated by Vivek V 5 months ago

  • Due date changed from 11/14/2025 to 11/28/2025
  • Estimated time changed from 40:00 h to 120:00 h
Actions #12

Updated by Sachin Suresh 5 months ago

2>prompt to flight search data implementation is in progress
the api takes data as
api/search/getParams?prompt=I need a flight on next christmas day from Dubai to kuwait for me and my child&isUrlOnly=false

and return a well structed data for flight search api
1>the airport name is fetched from elastic service after extracting raw city name or country name using gemini
2>date is formatted to ddMMMYYY format using chrono to reduce ai load and responce size
3>the journey object lopped to get round trip search data
4>all validation of minimum fields are added
As of now unit testing for different prompts w

Actions #13

Updated by Sachin Suresh 5 months ago

  • Subtask #30073 added
Actions #14

Updated by Sachin Suresh 5 months ago

  • Subtask #30074 added
Actions #15

Updated by Sachin Suresh 5 months ago

  • Subtask #30075 added
Actions #16

Updated by Sachin Suresh 5 months ago

  • Subtask #30077 added
Actions #17

Updated by Sachin Suresh 5 months ago

  • Subtask #30078 added
Actions #18

Updated by Sachin Suresh 5 months ago

  • Subtask #30079 added
Actions #19

Updated by Sachin Suresh 5 months ago

  • Subtask #30080 added
Actions #20

Updated by Sachin Suresh 5 months ago

  • Subtask #30081 added
Actions #21

Updated by Sachin Suresh 5 months ago

  • Subtask #30083 added
Actions #22

Updated by Sachin Suresh 5 months ago

  • Subtask #30085 added
Actions #23

Updated by Sachin Suresh 5 months ago

Need to make a logging service so we can monitor success and fail casess

Actions #24

Updated by Sachin Suresh 5 months ago

  • Subtask #30414 added
Actions #25

Updated by Sachin Suresh 5 months ago

As of now currently working on search and logs viewer html for debugging purpose

Actions #26

Updated by Sachin Suresh 5 months ago

  • Subtask #30520 added
Actions #27

Updated by Sachin Suresh 5 months ago

  • Subtask #30550 added
Actions #28

Updated by Arun S 5 months ago

  • For the below prompt, search should go for COK - DXB, for 27 January 2026
  1. Need flight from Kochi, India to Dubai for 27 January 2026
  2. Need flight from cochin international airport to Dubai for 27 January 2026
  • For the below prompt, search should go for London, All Airport - DXB, for 27 January 2026
  1. Need flight from London to Dubai for 27 January 2026
  • PROMPT: I want a round trip journey.
    From: Mumbai (BOM)
    To: Singapore (SIN)
    Depart: 10-Jan-2026
    Return: 18-Jan-2026
    Passengers: 2 Adults, Business class

Search is going for Economy class, Correct it.

  • PROMPT : wants to fly across three cities.
    Segment 1: Delhi (DEL) → Bangkok (BKK), 5-Feb-2026
    Segment 2: Bangkok (BKK) → Seoul (ICN), 10-Feb-2026
    Segment 3: Seoul (ICN) → Delhi (DEL), 16-Feb-2026
    Passengers: 1 Adult

Search should happen for multi city, not for one way

  • Find me the cheapest flight from Chennai to Dubai next Friday evening for two people need direct flight

Should get direct and cheapest flight. Now we are getting the error "Server Error: aiParams.DirectFlight.toLowerCase is not a function"

  • Book the cheapest round-trip flights from Dubai to Mumbai in December 10 coming back January 2 on flydubai
  • Book a business class flight for Kuwait to dubai on 12december 25 and economy flight for dubai to muscat on 23december 25
  • send me quote for Kuwait airways travel to London from Kuwait on business class on 23 December
Actions #29

Updated by Sachin Suresh 5 months ago

ifthik comments

book flight dubai to kuwait economy class one way 2dec2025 passed
book refundable flights with from Chicago to San Francisco tomorrow morning Not passed
Search for the cheapest round-trip flights from Dubai to Mumbai in December 10 coming back January 2 Passed
Book me direct flights from Kuwait to cairo leaving on January 15 "Server Error: aiParams.DirectFlight.toLowerCase is not a function"
Book the cheapest round-trip flights from Dubai to Mumbai in December 10 coming back January 2 on flydubai "No Flights Found"
Book a business class flight for Kuwait to dubai on 12december 25 and economy flight for dubai to muscat on 23december 25 "AI Extraction Failed
Could not understand the flight request. Validation failed after all retries."
send me quote for Kuwait airways travel to London from Kuwait on business class on 23 December "No Flights Found"

Actions #30

Updated by Sachin Suresh 5 months ago

  • Subtask #30576 added
Actions #31

Updated by Sachin Suresh 5 months ago

  • Subtask #30581 added
Actions #32

Updated by Sachin Suresh 5 months ago

  • Subtask #30582 added
Actions #33

Updated by Sachin Suresh 5 months ago

  • Subtask #30585 added
Actions #34

Updated by Sachin Suresh 5 months ago

  • Subtask #30626 added
Actions #35

Updated by Sachin Suresh 4 months ago

  • Subtask #30680 added
Actions #36

Updated by Sachin Suresh 4 months ago

  • Subtask #30892 added
Actions

Also available in: Atom PDF