[V] getAsEmbeddingVector
getAsEmbeddingVector: StateMapGetter<Model, EmbeddingVectorMetadata>;If the provided model is an embedding vector, returns the appropriate metadata; otherwise, returns undefined.
model
the model to query
Returns
Section titled “Returns”EmbeddingVectorMetadata, if applicable, or undefined.