Callstack has expanded their on-device AI SDK provider for React Native to support text embeddings via Apple's built-in Natural Language framework. The integration uses Apple's NLContextualEmbedding API, a BERT-based model producing 512-dimensional vectors for up to 256 tokens, with no additional model downloads required. The
Table of contents
What are embeddings?On-Device vs On-DemandOverview of Apple's Embeddings APIFrom token vectors to a single sentence embeddingFirst-class Vercel AI SDK supportConclusionSort: