Body
Request body for generating vector embeddings from text.
Contains input text(s) to be converted into high-dimensional vector representations. Supports both single string input and batch processing with arrays of strings for efficient embedding generation.
The request body defines text input and processing options for generating semantic embeddings that capture meaning and relationships between texts.
Request body for generating vector embeddings from text input.
The text(s) to generate embeddings for. Can be a single string or an array of strings. Each text should be a meaningful unit of text (sentence, paragraph, etc).
"The quick brown fox jumps over the lazy dog"
Response
Successfully generated embeddings
Response containing generated embeddings for input text(s).
List of embeddings, one for each input text
The type of object returned
"list"
The model used to generate embeddings
"private-gpt"