TextEmbeddingsConverter
Convert text strings, paragraphs, or documents into dense vector embeddings using state-of-the-art language models. Supports batching, chunking, and multiple model options for optimal retrieval performance.
How It Works
Provide text content in the request body or upload a text file.
Text is optionally chunked by token count or semantic boundaries.
Each chunk is tokenized and processed through the embedding model.
Dense vectors are returned with chunk text and metadata.
Optionally, embeddings are stored directly in your namespace.
Code Examples
from mixpeek import Mixpeekclient = Mixpeek(api_key="YOUR_API_KEY")result = client.convert(source="The quick brown fox jumps over the lazy dog.",from_format="text",to_format="embeddings",options={"model": "e5-large-instruct","input_type": "passage"})print(f"Dimensions: {len(result.embedding)}")print(f"First 5 values: {result.embedding[:5]}")
Use Cases
Supported Input Formats
Quick Info
Try This Conversion
Get started with the Mixpeek API and convert your first file in minutes.
Frequently Asked Questions
Related Converters
PDF to Embeddings
Convert PDF documents into semantic vector embeddings for search, retrieval, and RAG applications. Pages are chunked intelligently by sections and paragraphs, then embedded using text or multimodal models.
JSON to Embeddings
Convert JSON objects and arrays into semantic vector embeddings. Supports nested structures, field selection, and configurable serialization strategies for optimal embedding quality.
CSV to Embeddings
Convert CSV files into vector embeddings by selecting and combining columns into text representations. Supports header mapping, custom delimiters, and batch processing for large datasets.
Multimodal to Embeddings
Generate unified vector embeddings from mixed-modality inputs -- text, images, audio, and video combined. Enables cross-modal search where any modality can query any other modality in a single vector space.
Ready to convert text to embeddings?
Start using the Mixpeek Text to Embeddings in minutes. Sign up for a free API key and follow the documentation to get started.
