Geo Device Service: - Новый сервис определения геопозиции, устройства, браузера - geoip-lite, ua-parser-js, CORS - GET/POST /api/context Frontend: - /api/geo-context — прокси к geo-device, fallback при недоступности - geoDevice.ts — fetchContextWithClient, fetchContextWithGeolocation - Weather: геопозиция через geo-device + GeoJS + ipwhois fallback - Weather API: поддержка city (геокодинг Open-Meteo) - Discover: вкладка GooSeek по умолчанию Документация: - MICROSERVICES.md — секция 3.9 Geo Device Service Co-authored-by: Cursor <cursoragent@cursor.com>
GooSeek Architecture
GooSeek is a Next.js application that combines an AI chat experience with search.
For a high level flow, see WORKING.md. For deeper implementation details, see CONTRIBUTING.md.
Key components
-
User Interface
- A web based UI that lets users chat, search, and view citations.
-
API Routes
POST /api/chatpowers the chat UI.POST /api/searchprovides a programmatic search endpoint.GET /api/providerslists available providers and model keys.
-
Agents and Orchestration
- The system classifies the question first.
- It can run research and widgets in parallel.
- It generates the final answer and includes citations.
-
Search Backend
- A meta search backend is used to fetch relevant web results when research is enabled.
-
LLMs (Large Language Models)
- Used for classification, writing answers, and producing citations.
-
Embedding Models
- Used for semantic search over user uploaded files.
-
Storage
- Chats and messages are stored so conversations can be reloaded.