[F] getAsEmbeddingVector
function getAsEmbeddingVector(program, model): | undefined | EmbeddingVectorMetadataIf the provided model is an embedding vector, returns the appropriate metadata; otherwise, returns undefined.
Parameters
| Parameter | Type | Description |
|---|---|---|
program | Program | - |
model | Model | the model to query |
Returns
| undefined
| EmbeddingVectorMetadata
EmbeddingVectorMetadata, if applicable, or undefined.