Embeddings
Enable AI-powered semantic search by converting text data into vector representations that understand meaning and context.
What are Embeddings?
Embeddings are numerical vector representations of text that capture semantic meaning. When you create an embedding on a column:
- Text is converted into high-dimensional vectors
- Similar content gets similar vector representations
- Semantic search becomes possible using natural language queries
- Context is understood - "car" and "automobile" would be considered similar
How Embeddings Work
- Text Processing: Your text data is processed by an embedding model
- Vector Generation: Each piece of text becomes a vector (array of numbers)
- Storage: Vectors are stored alongside your original data
- Search: Query text is converted to a vector and compared against stored vectors
- Results: Most similar vectors (and their associated data) are returned
Creating Embeddings
Basic Embedding Creation
You can create multiple embeddings on different columns or even the same column with different models.
- Embeddings can only be created on text columns - they convert text into vector representations
- Embedding names must be unique across your entire knowledge base - two different tables cannot have embeddings with the same name
- Only create embeddings on columns you want to search semantically - unnecessary embeddings waste storage and processing time
Available Embedding Models
First, check what models are available for your organization:
Common embedding models include:
text-embedding-3-small
- OpenAI's efficient model, good for most use casestext-embedding-3-large
- OpenAI's most powerful model, higher accuracytext-embedding-ada-002
- OpenAI's previous generation model- Additional models may be available depending on your organization setup
Using Embeddings for Search
Semantic Search
Once embeddings are created, you can perform semantic searches:
Searches can only be performed on one column at a time. You cannot search across multiple embedding columns simultaneously.
Managing Embeddings
List Embeddings
Delete Embeddings
Embedding Success Tips
Embeddings aren’t just for plain text! You can create them on any column that helps users find what they need—titles, tags, categories, and more.
- Set
with_gin_index=True
for large columns - Create separate embeddings for different search patterns
- Monitor embedding status before searching
💡 Tip: The more thoughtfully you choose your columns, the smarter and faster your search will be!