Create Contextualized Embeddings
Creates contextualized embeddings from text in Perplexity.
POST
Body
Arguments
array of arrayrequired
Nested array of document chunks. Each inner array represents one document.
stringrequired
Contextualized embedding model to use.
Uncommon arguments
number
Optional output embedding dimensions.
Field selectionChoose which fields should be included in the response. Learn more
string
Comma-separated response fields to include.