all AI news
AI Inference now available in Supabase Edge Functions
April 16, 2024, 8:27 p.m. | Yuri
DEV Community dev.to
We're making it super easy to run AI models within Supabase Edge Functions. A new built-in API is available within the Edge Runtime to run inference workloads in just a few lines of code:
// Instantiate a new inference session
const session = new Supabase.ai.Session('gte-small')
// then use the session to run inference on a prompt
const output = await session.run('Luke, I am your father')
console.log(output)
// [ -0.047715719789266586, -0.006132732145488262, ...]
With this new …
ai ai models api code easy edge functions inference machinelearning making opensource session small supabase the edge webdev workloads
More from dev.to / DEV Community
Jobs in AI, ML, Big Data
Data Architect
@ University of Texas at Austin | Austin, TX
Data ETL Engineer
@ University of Texas at Austin | Austin, TX
Lead GNSS Data Scientist
@ Lurra Systems | Melbourne
Senior Machine Learning Engineer (MLOps)
@ Promaton | Remote, Europe
#13721 - Data Engineer - AI Model Testing
@ Qualitest | Miami, Florida, United States
Elasticsearch Administrator
@ ManTech | 201BF - Customer Site, Chantilly, VA