What Is Embedding & RAG?
Embedding converts text into numeric vectors that capture meaning. Two pieces of text with similar meaning produce similar vectors, even if the exact words differ. This makes it possible to search by concept rather than by keyword. Retrieval-augmented generation (RAG) uses those embeddings at query time. When a user asks a question, the system:- Embeds the query into a vector
- Searches your indexed content for the most relevant chunks
- Passes those chunks as context to a language model
- The model generates a response grounded in your data
What’s in This Section
AI Search
Telnyx’s managed RAG product. Create searchable collections over your Telnyx communications data and query them with one retrieval API.
Conversation Histories API
Search persisted conversation records directly — the same indexed history that backs AI Search’s conversation sources.
Embeddings
Lower-level primitives: embed documents in a Telnyx Storage bucket and run similarity search or clustering over them yourself.
Pricing
Rates for embedding, storage, and search events.