Walk through the core vai embedding commands: model discovery, embedding generation, explainers, and similarity.
• A valid VOYAGE_API_KEY is set in the environment.
See the exact VAI command, the matching Voyage AI layer, and the MongoDB query shape behind the demo.
vai embed "What is MongoDB Atlas?"
This is the one-liner developers see first in the demo. VAI wraps the request, formats the response, and prints the vector without forcing you to write any client code.
Share or copy this demo
Keep it lightweight. The prepared text stays behind the buttons.
Share
Copy
LinkedIn opens the share dialog and copies the prepared text so you can paste it in quickly.
The full walkthrough is included here so anyone can replay the demo exactly as published.
More shareable workflows from the same VAI demo library.
Start from first principles: generate a Voyage embedding, inspect its shape, and compare full-size versus Matryoshka-reduced vectors.
VAI command
vai embed 'MongoDB Atlas makes vector search production-ready'
Show Under the Hood
Prerequisites
A valid VOYAGE_API_KEY is set in the environment.
Show why input type matters by embedding the same sentence as both a document and a query, then validating the semantic overlap with similarity.
VAI command
vai embed 'Vector search finds semantically similar content' --input-type query
Show Under the Hood
Prerequisites
A valid VOYAGE_API_KEY is set in the environment.
Run a local CLI workflow with Ollama generation and local embeddings, without a Voyage API key.
VAI command
vai embed "Local inference keeps retrieval private, fast, and API-key free." --local --dimensions 256
Show Under the Hood
Prerequisites
Ollama is installed and running locally.