[F] getAsEmbeddingVector
function getAsEmbeddingVector(program, model): EmbeddingVectorMetadata | undefinedIf 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
EmbeddingVectorMetadata | undefined
EmbeddingVectorMetadata, if applicable, or undefined.