The quickest way to retrieve vector embeddings is to use the fastembed crate, which does not require a user key or calling into an external service.
The following blog posts include runnable examples using vector embeddings via the Rust SDK.
Building an AI-native multi-model UI with SurrealDB
: a UI built with Iced.rs with OpenAI and Mistral embeddingsHybrid vector + text Search in the terminal with SurrealDB and Ratatui: a UI built with Ratatui.rs with OpenAI and Mistral embeddings
Make a medical chatbot using GraphRAG with SurrealDB + LangChain