SurrealDB walks through defining a custom SurrealQL function that generates vector embeddings directly inside the database, keeping embedding generation close to the data instead of in an external pipeline. This enables building semantic search and AI features natively within SurrealQL.
Generating embeddings inside SurrealQL with a custom function
calendar_today
June 26, 2026
domain
surrealdb