ParsesEmbeddings
trait ParsesEmbeddings
Methods
array
parseCohereEmbeddings(mixed $embeddings)
Normalize the embeddings of a Cohere response into a list of vectors.
Details
at line 18
protected array
parseCohereEmbeddings(mixed $embeddings)
Normalize the embeddings of a Cohere response into a list of vectors.