get_dimensions
Function
This function is defined in the dimensions module.Get embedding dimensions based on model name. This function checks if the model name contains any known model identifiers and returns the corresponding dimension. Falls back to the default dimension (1536) for unknown models.
Signature
Parameters
The embedding model name (e.g., “text-embedding-3-small”)
Returns
The embedding dimension for the model

