Skip to content

Product and System Overview

Use cases

Use case Backend path Scope
Structured insights Analyst API User tables/workspace
FTA semantic search RAG Default project
HS code search RAG HS_SEARCH_PROJECT_ID
Private dossier QA RAG PRIVATE_PROJECT_ID
Tariff concordance RAG CONCORDANCE_PROJECT_ID
sequenceDiagram
  %%{init: {"theme":"base","themeVariables":{"primaryColor":"#1e293b","primaryTextColor":"#f8fafc","primaryBorderColor":"#38bdf8","lineColor":"#64748b","actorBackground":"#1e293b","actorBorder":"#38bdf8","actorTextColor":"#f8fafc","noteBorderColor":"#fbbf24","noteBkgColor":"#78350f","noteTextColor":"#fffbeb"}}}%%
  actor User
  participant FE as React workspace
  participant API as RAG API
  participant Search as Hybrid retrieval
  participant LLM
  User->>FE: Ask domain question
  FE->>API: JWT + project/scoped query
  API->>Search: Dense + sparse retrieval
  Search-->>API: fused/reranked chunks
  API->>LLM: prompt + context + history
  LLM-->>FE: SSE answer/citations/debug
  FE-->>User: Render response and sources

The platform’s strongest product choice is a single workspace that makes structured analytics and document intelligence feel like one trade-research tool while keeping their engines distinct.