Filter: classifai_openai_embeddings_dimensions

apply_filters( 'classifai_openai_embeddings_dimensions', $dimensions ) → {int}

Filter the dimensions we want for each embedding.

Useful if you want to increase or decrease the length of each embedding.

Parameters:
Name Type Description
$dimensions int

The default dimensions.

Since:
  • 3.1.0
Source:
Returns:

The dimensions.

Type
int