OCTOPUS.AI: Web-Based B2B Travel Metasearch

Job ID: 38539064

Budget: $8 – $45 USD

Product Requirement Document (PRD) for OCTOPUS.AI
________________________________________
1. Product Overview
Product Name: OCTOPUS.AI
Purpose: OCTOPUS.AI is a metasearch platform designed to streamline the booking process for both B2B and B2C markets. It is a web application which allows users to input travel-related queries in natural language or text. The application searches relevant backend APIs (hotels, hotel wholesalers, airport transfers, etc.), indexes the results, and displays them with booking links to the user. Queries and results are stored for analytical use, and further used in a machine learning model to provide predictive analytics on market demand trends.
Target Audience:
• Retailers, Online Travel Agencies, Travel Agents
________________________________________
2. Key Features and Functionality
Core Features:
1. Marketing Site:
o Home page (Octopus demo)
o About Us
o What we do
o Join Us Now
o Terms & Conditions
o Privacy Policy
2. Sign Up:
o Travel Agents can sign up, enter basic details, and set their password.
o Travel Agents can access the Octopus Travel AI Platform once their account is created and they can sign in.
o Password reset option.
3. My Profile:
o Travel Agents can view & edit their basic details.
o Travel Agents can view their active suppliers.
o Travel agents can view their search history and search analytics.
o Travel Agents can update their email address and reset password from here.
4. Connect with Wholesaler:
o Connection form
o Connection authentication (system validated) unlocks access to wholesaler data.
5. Landing Page & User Query Input:
o A simple and intuitive web interface (chatbot) for users to input their travel queries in natural language or text.
o Demo of how Octopus makes searches easier (above chatbot box)***
6. Query Processing:
o A backend system to process and clean the input query.
7. Intent Recognition:
o An LLM (GPT-4) to understand the user's intent from the query.
8. Assisted Destination Search***:
o Octopus can assist with providing more details on destination specific queries (i.e. vs just providing a ranking)
9. API Triggering:
o Determining which APIs (hotels, airport transfers, ect.) to call based on the user's query and their active suppliers.
10. Data Aggregation & Indexing:
o Collecting and processing data from various API responses. Indexing of aggregated data.
11. Response Formatting:
o Formatting the aggregated data into a user-friendly response with booking links.
12. Logging and Monitoring:
o Logging all queries, API calls, and responses for ML training, monitoring and debugging.

Features 5-10 must be active in the Minimum Viable Product (MVP)

User Stories:
1. As a user, I want to input my travel query in natural language or plain text and get a list of relevant travel & hotel options.
2. As a user, I want to see booking links in the search results to quickly book my flights and hotels.
3. As a user, I want the results to be displayed in a clear and organized manner.
________________________________________
3. Design and User Interface
Design Requirements:
• Clean and modern UI
• Intuitive input field
• Voice to text functionality (OpenAI) for natural language queries
• Responsive design for mobile and desktop
• Clear presentation of search results with booking links
Wireframes and Mockups:
• To be created by Team
________________________________________
4. Technical Specifications
Platform:
• Web application
Preferred Technologies:
• Front-End: React.js
• Backend: TypeScript
• LLM Service: OpenAI GPT-4
• APIs: RESTful APIs, GraphQL
• Databases: MongoDB
• Hosting: Vercel
Third Party API Integrations:
• Hotelbeds Integration
• Webbeds Integration
• Expedia Integration
• Agoda Integration
• TBO Integration
• LLM Integration
• Cohort Analysis Integration
________________________________________
5. Performance and Security
Performance Benchmarks:
• Response time for queries should be as fast as possible
• System should handle up to 1000s concurrent users requests.
• System should comply with and abide by all cybersecurity regulations and directives issue by the National Cybersecurity Authority (NCA)

________________________________________
6. Analytics and Reporting
Required Features:
• Track number of queries processed
• Monitor API response times and success rates
• User behaviour analytics/Cohort Analysis Integration (e.g., query types, popular destinations)
________________________________________
7. Stakeholders and Team
Primary Stakeholders:
• CTO
• Lead Developer
• Developer x 2
• UI/UX Designer
Team Roles and Responsibilities:
• CTO: Overall Technical leadership, project coordination, requirements gathering, and timeline management.
• Lead Developer: Overseas development, ensures code quality, and manages API integrations.
• UI/UX Designer: Creates the user interface design and ensures a seamless user experience.
Developers: 1 frontend 1 backend

Timeline and Milestones
Timeline:
• Month 1: Project setup, initial design, and architecture planning
• Month 2: Frontend and backend development, API integrations
• Month 3: Implement LLM service, data aggregation, and response formatting
• Month 4: Testing, bug fixing, and performance optimization
• Month 5: Launch MVP, monitoring, and user feedback collection
Key Milestones:
1. Design Approval (End of Month 1)
2. Initial API Integration (End of Month 2)
3. LLM Service Integration (Mid Month 3)
4. Internal Testing Completion (End of Month 4)
5. MVP Launch (End of Month 5)