For the complete documentation index, see llms.txt. This page is also available as Markdown.

Embedding Models

An embedding model converts text into a numerical vector — a fixed-length list of numbers that encodes semantic meaning. Dataworkz uses the embedding model at two points in the RAG pipeline:

  1. At ingestion time — each document chunk is converted into a vector and stored in the vector database

  2. At query time — the user's question is converted into a vector using the same model

The system then computes similarity between the query vector and all stored chunk vectors to find the most relevant content.

Configuring the Embedding Model

The embedding model is set in Step 3 (Chunk & Vectorize) of the custom RAG creation wizard. Dataworkz supports models from:

  • OpenAI — e.g., text-embedding-3-small, text-embedding-3-large

  • Azure OpenAI — Azure-hosted OpenAI embedding models

  • Amazon Bedrock — e.g., Amazon Titan Embeddings

  • Locally hosted models — via compatible endpoints

⚠️ The same embedding model must be used consistently for both document embedding and query embedding. Switching models after ingestion requires re-vectorizing the entire collection.

Choosing a Model

Consideration
Guidance

General enterprise content

A mid-size general-purpose model (e.g., text-embedding-3-small) works well for most documents

Domain-specific vocabulary

A larger model or a domain-fine-tuned model improves accuracy on specialized terminology (legal, medical, financial)

Latency and cost

Smaller models are faster and cheaper; larger models produce higher-dimensional vectors with better semantic accuracy

Default settings path

Dataworkz selects a pre-configured model automatically — no choice required

Dimensionality

Embedding dimensionality is the length of the vector produced for each chunk. Higher dimensionality captures more semantic nuance but requires more vector storage and compute at query time. Dataworkz exposes dimensionality as a configurable parameter in the vectorization step for models that support multiple output sizes.

Last updated