Set Up Vector Search
LLM similarity search compares embedding vectors. Momen stores vectors in the relational database for semantic sort and AI context.
Open Data tab → Data model to create tables and enable vector fields.
Database setup: Set Up the Database. AI usage: AI Integration.
Currently only text fields support vectorization. Vector storage consumes database capacity.
Save vector data
- Data tab → Data model — create a table with a Text field
- Field menu → Enable Vector Storage — choose an embedding model (add models in Action tab → AI Integration)
- Text saved in that field is embedded automatically
Vector sorting
Sort by distance between a reference value and each row’s vector — smaller distance = higher similarity.
| Algorithm | Best for |
|---|---|
| COSINE | Directional similarity — search, recommendations, text |
| EUCLIDEAN | Absolute distance — logistics, numeric proximity |
List semantic search
- Bind a list to a table with a vector-enabled field
- Sort → vector field → Vector mode
- Choose distance method
- Bind the reference object (e.g. search box text)
AI context (RAG)
- Create a table with vector-enabled text fields for your knowledge base
- AI config → Contexts → select table → filter icon
- Add Sort: vector field, distance method, comparison content bound to user input

Demo: slang search
A case table with internet slang embeddings; search input is vectorized and the list returns nearest matches.
.gif)
Notes
- Text fields only
- Plan storage for embedded rows
- Pair with Query and Bind Data for UI search
Related Reading
Last updated on