Internal Service β These are not HTTP endpoints. Theyβre called by the analyze-visibility orchestrator.
Purpose
Each platform checker queries a specific AI service and determines if the business is mentioned in the response.Architecture
Each platform has the same structure:Function Signature
All checkers implement the same interface:How Detection Works
- Send Query - Ask the AI platform the prompt
- Get Response - Receive the AIβs answer
- Evaluate - Check if business name/URL appears in response
- Return Boolean - True if mentioned, False otherwise
Evaluation Logic
The evaluator checks for:- Exact business name match (case-insensitive)
- Domain name match (e.g., βstripe.comβ)
- Partial matches with context
Platform-Specific Notes
| Platform | Notes |
|---|---|
| ChatGPT | Uses GPT-4o via OpenAI API |
| Claude | Uses Claude 3.5 Sonnet via Anthropic API |
| Gemini | Uses Gemini Pro via Google AI Studio |
| Perplexity | Uses Sonar model via Perplexity API |
| Copilot | Uses Bing Chat API (requires special access) |
| DeepSeek | Uses DeepSeek Chat API |
| Grok | Uses Grok via xAI API |
| Google AI | Scrapes Google AI Overviews (no official API) |
Parallel Execution
All 8 checkers run simultaneously usingasyncio.gather:
Error Handling
If a platform check fails, it returnsFalse for all queries rather than failing the entire request: