Company
Date Published
Author
Elvis Pranskevichus, Yury Selivanov
Word count
492
Language
English
Hacker News points
None

Summary

In EdgeDB 5.0, the ext::ai extension enables semantic similarity search and indexing of content using embeddings, allowing developers to easily perform searches without manual embedding creation. The new deferred index mechanism allows for asynchronous index creation, avoiding blocking object mutation during slow operations. The ext::ai extension also supports calling into OpenAI, Mistral, and Anthropic model APIs out of the box, enabling RAG (Reinforcement Algorithm for Generation) with database data as context. A JavaScript package provides a convenient wrapper for the ext::ai HTTP API, allowing developers to build AI-enabled apps in minutes.