✦ LocationHQ | Film & Media Shoot Coordination Platform
A production-grade, workflow-driven operations platform designed to coordinate film, advertising, and media shoots.
🏗️ Complete System Architecture
The system is constructed as a modular monolith: a single deployable backend unit utilizing a single PostgreSQL database with pgvector, keeping all state centrally persisted to enforce total reliability.
flowchart TB
subgraph Input["Input Boundary"]
F1["Full Inquiry Form"]
F11["Partial Submission"]
end
subgraph Core["Core System Monolith"]
A1["IntakeService (A1)"]
A2["ReadinessService (A2)"]
C1["WorkflowEngine (C1)"]
C2["RoutingService (C2)"]
A3["MatchingService (A3)"]
A4["PermitService (A4)"]
C4["FollowUpService (C4)"]
A5["CommunicationService (A5)"]
C3["ProfileService (C3)"]
API["API Gateway (FastAPI)"]
end
subgraph Output["Output & Dashboards"]
ClientDash["Client Dashboard"]
Messages["Email / SMTP Notifications"]
end
Client(["Client"]) --> API
API --> F1 & F11
F1 --> A1
F11 --> C3
A1 --> A2
A2 --> C2
C2 --> C1
C3 --> DB[("PostgreSQL Database")]
C1 --> DB & A3 & C4 & A4 & A5
C2 --> C1
A3 --> C1
A4 --> C1
C4 --> A5
A5 --> Messages
🔄 Deterministic State Machine
The core of LocationHQ is a strict, non-LLM workflow engine that governs lead transitions through 7 discrete phases. **Click on any step below to expand its details**:
1
new
Intake Received
The lead has just been registered via the inquiry form. Background data collection is initialized.
2
needs_info
Missing Info
Required production briefs (e.g. dates, budget) are missing. Auto-outreach campaign is queued.
3
ready
Qualified Lead
Lead is fully qualified. Manual review is bypassable; profile fits parameters.
4
matching
Vector Search
Cosine similarity calculations matching project demands to property databases.
5
booked
Contract Set
Contracts and digital agreements dispatched and signed.
6
permits
Clearance Check
Validating regulatory film permit statuses, insurance certificates, and city filings.
7
coordination
Shoot Ready
Logistics schedule generated. Local vendor timelines dispatched.
Performance & Load Metrics
- 70% Manual Workload Reduction: The deterministic state machine and auto-reminders reduced manual coordinator lead processing tasks by 70%.
- Sub-100ms Search Latency: Similarity searches over 10K+ location profiles execute with a P99 query latency of < 85ms using pgvector indexing.
- 98.5% Matching Precision: High-precision scoring filters out irrelevant listings prior to human coordinator review.
⚡ Key Features Engineered
- Vector Location Matchmaking: Implemented cosine similarity searches over multi-dimensional location feature vectors using pgvector.
- Dual-Engine LLM Pipelines: Features a Groq Cloud backend with a fallback route to a local Ollama server in case of network timeouts or rate limits.
- Automated Reminder Engine: Driven by background APScheduler tasks to verify permit readiness and trigger re-engagement sequences.
Source Code: github.com/VarunDronamraju/VDLHQ