Whatever message this page gives is out now! Go check it out!
embedAll(array text)Parameter | Type | Required | Description |
text | Array | Yes | Array of text strings to embed (batch input). |
<cfscript>
embeddingModel = EmbeddingModel();
texts = [
"Machine learning is a subset of artificial intelligence",
"ColdFusion is a rapid application development platform",
"Vector databases enable semantic search capabilities",
"Embeddings represent text as numerical vectors",
"Natural language processing uses neural networks"
];
results = embeddingModel.embedAll(texts);
writeDump(results);
</cfscript>