General Architecture for IAFF (Intelligent Assistant For Foreigners)
Hien,•diploma team project
High-level system design
Core Services
- Authentication Service
- Responsibilities: Verifying user identities, providing secure access tokens using JWT upon successful authentication.
- Features: Supports login, logout, and user data management.
- Document Service
- Responsibilities: Manages documents related to Polish legal information.
- Features: Allows for storing, retrieving, and manipulating documents. Provides search functionality by category or document name. Manages user survey information and provides document recommendations based on survey data.
- Assistant Service
- Responsibilities: Functions as an information search tool, using artificial intelligence capabilities offered by ChatGPT.
- Features: Understands and responds to user queries in natural language. Collaborates with a vector database for quick search of internal legal documents. Acts as a translation agent for multiple languages including Vietnamese, Polish, Ukrainian, and Belarusian. Capable of audio transcription in multiple languages.
- Google Maps
- Responsibilities: Integrates map and location data with the system.
- Features: Uses Google Maps API for location-based searching with filtering capabilities. Allows searching for specific types of places like schools, restaurants, universities, and hospitals.
- Accommodation Service
- Responsibilities: Connects with Booking.com API to enable accommodation search.
- Features: Provides multiple search options, including proximity searches and amenities-based searches. Allows users to select a price range. Fetches real-time data on hotel availability, ratings, and popularity.