Low-confidence regex (generic character classes) compensated by strong keyword lists for Aho-Corasick pre-filtering
Azure OpenAI and Inflection use empty verify blocks (no stable public endpoint / requires deployment URL)
Meta AI pattern anchors on LLM| literal prefix to reduce false positives
duration
tasks
files
completed
1m
2
12
2026-04-05T11:11:55Z
PROV-01
Phase 2 Plan 2: Tier 1 Medium/Low-Confidence Providers Summary
Added 6 Tier 1 LLM provider YAML definitions (Azure OpenAI, Meta AI, Cohere, Mistral, Inflection, AI21) with strong keyword lists anchoring generic opaque-token regex patterns, completing Tier 1 at 12/12.
What Was Built
Created 12 YAML files (6 providers x dual location) covering the remaining Tier 1 providers that lack distinctive high-confidence prefix patterns. These providers rely on Aho-Corasick keyword pre-filtering (azure, cohere, mistral, jamba, PI_API_KEY, etc.) to reduce false positives since their key formats are opaque hex/alphanumeric tokens.
Azure OpenAI: 32-hex pattern, no verify endpoint (requires per-deployment URL)
Meta AI: LLM| literal prefix anchor, api.llama.com verify endpoint
All providers dual-located for Go embed.FS (pkg/providers/definitions/) and user visibility (providers/). Registry loader test passes with all 9 providers (3 existing + 6 new).
Empty verify blocks for Azure OpenAI and Inflection: Azure OpenAI requires per-deployment URL (https://{resource}.openai.azure.com/...) which cannot be hardcoded; Inflection lacks a stable public verify endpoint. Both use empty url: "" and empty status arrays to signal "verification unsupported" for Phase 5.
Low confidence on all 6: Generic character-class regex patterns would cause high false-positive rates without keyword anchoring, so confidence is marked low and the AC automaton carries the detection weight.
Key Links
Provider keywords[] feeds NewRegistry() which builds the Aho-Corasick DFA across all providers
Aho-Corasick pre-filter gates per-pattern regex evaluation (established in Phase 01)
Self-Check: PASSED
All 12 files verified present:
providers/{azure-openai,meta-ai,cohere,mistral,inflection,ai21}.yaml -- FOUND
pkg/providers/definitions/{azure-openai,meta-ai,cohere,mistral,inflection,ai21}.yaml -- FOUND