The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
fix(www): bucket Codex/ChatGPT/OpenAI responses in SoS chart (DEBR-302) (#46398)
Alan Danieladeb6bf56c1c
diff --git a/apps/www/app/state-of-startups/components/charts/AICodingToolsChart.tsx b/apps/www/app/state-of-startups/components/charts/AICodingToolsChart.tsxindex 4908714d640..f81f21dc613 100644--- a/apps/www/app/state-of-startups/components/charts/AICodingToolsChart.tsx+++ b/apps/www/app/state-of-startups/components/charts/AICodingToolsChart.tsx@@ -18,9 +18,12 @@ function generateAICodingToolsSQL(activeFilters: Record<string, string>) {'Tempo','None') THEN technology+ WHEN LOWER(technology) LIKE '%antigravity%' THEN 'Antigravity'WHEN LOWER(technology) LIKE '%claude%' THEN 'Claude or Claude Code'- WHEN LOWER(technology) = 'chatgpt' THEN 'ChatGPT'- ELSE 'Other'+ WHEN LOWER(technology) LIKE '%codex%'+ OR LOWER(technology) LIKE '%chatgpt%'+ OR LOWER(technology) LIKE '%chat gpt%'+ OR LOWER(technology) LIKE '%openai%' THEN 'Codex'END AS technology_cleanFROM (SELECT id, unnest(ai_coding_tools) AS technology@@ -28,10 +31,11 @@ function generateAICodingToolsSQL(activeFilters: Record<string, string>) {${whereClause}) sub)- SELECT+ SELECTtechnology_clean AS technology,COUNT(DISTINCT id) AS totalFROM ai_coding_tools_mapping+ WHERE technology_clean IS NOT NULLGROUP BY technology_cleanORDER BY total DESC;`}