Skip to main content

Telnyx AI: Embedding — Documentation Index

Embedding documentation within the AI section of the Telnyx developer docs (https://developers.telnyx.com). This file: https://developers.telnyx.com/development/llms/ai-embedding-llms-txt.md · Root index: https://developers.telnyx.com/llms.txt

Embedding

  • Overview: Build retrieval, semantic search, and conversation memory with Telnyx.
  • Pricing: Pricing for Search and Embedding & RAG features.

Bucket

  • Embeddings: Generate vector embeddings with the Telnyx Inference API for semantic search, clustering, and RAG. Supports multiple embedding models and batch requests.
  • Clusters: Group similar documents and discover themes in your data with Telnyx Inference clusters. Run unsupervised clustering on embeddings to surface insights.

API Reference (Embedding)

OpenAI Embeddings

  • Create embeddings: Creates an embedding vector representing the input text. This endpoint is compatible with the OpenAI Embeddings API and may be used with the OpenAI JS or Pytho…
  • List embedding models: Returns a list of available embedding models. This endpoint is compatible with the OpenAI Models API format.

Embeddings

  • Get Tasks by Status: Retrieve tasks for the user that are either queued, processing, failed, success or partial_success based on the query string. Defaults to queued an…
  • Embed documents: Perform embedding on a Telnyx Storage Bucket using the a embedding model.
  • List embedded buckets: Get all embedding buckets for a user.
  • Disable AI for an Embedded Bucket: Deletes an entire bucket’s embeddings and disables the bucket for AI-use, returning it to normal storage pricing.
  • Get file-level embedding statuses for a bucket: Get all embedded files for a given user bucket, including their processing status.
  • Search for documents: Perform a similarity search on a Telnyx Storage Bucket, returning the most similar num_docs document chunks to the query.
  • Embed URL content: Embed website content from a specified URL, including child pages up to 5 levels deep within the same domain. The process crawls and loads content from the mai…
  • Get an embedding task’s status: Check the status of a current embedding task. Will be one of the following:

Clusters

  • List all clusters: Retrieve a paginated list of clustering tasks and their statuses.
  • Compute new clusters: Starts a background task to compute how the data in an embedded storage bucket is clustered. This helps identify common themes and patterns in the data.
  • Delete a cluster: Delete a clustering task and its computed results.
  • Fetch a cluster: Fetch the results of a clustering task, including the discovered clusters.
  • Fetch a cluster visualization: Fetch a visualization image of the clusters computed by a clustering task.

Conversation Histories