Edge Functions (Supabase)
Tools & EnvironmentEdge Functions are serverless functions running on the network edge (edge computing) in the Supabase platform, written in TypeScript/Deno.
In the context of semantic audit, Edge Functions enable embedding processing, RAG logic, and database operations without maintaining your own server backend. For example, an Edge Function accepts a user query, generates an embedding, performs nearest neighbors search in pgvector, and returns results: all in a single HTTP call.
Edge Functions offer low response times (running close to users), automatic scaling, and pay-per-use pricing. In SEO, Edge Functions allow building semantic search engines and chatbots on client sites without infrastructure. Hosting is handled by Supabase. Alternatives include Cloudflare Workers or AWS Lambda.
In practice, use Edge Functions for prototyping semantic search on client sites — it's the fastest path from proof-of-concept to production.