gcp Google Cloud release notes ·

Apigee X SemanticCacheLookup Policy Adds Vector Search Distance Measures

aigcpgaengineer
feature

The Apigee X SemanticCacheLookup policy now supports non-default vector search distance measures, including COSINE_DISTANCE, SQUARED_L2_DISTANCE, and L1_DISTANCE. This enhancement offers developers more flexibility in choosing appropriate distance metrics for their semantic caching strategies, potentially improving relevance and efficiency. Users adopting non-default measures must re-tune their policy's `<Threshold>` values to align with the chosen measure's implied direction. The previous 0-to-1 restriction on the threshold has been removed, with these capabilities available in Apigee 1-18-0-apigee-4 and later.

Features (1)
  • Apigee X

    SemanticCacheLookup policy supports non-default Vector Search distance measures Available in Apigee 1-18-0-apigee-4 and later. A new optional &lt;DistanceMeasureType&gt; element accepts DOT_PRODUCT_DISTANCE (the default, and the existing behavior), COSINE_DISTANCE , SQUARED_L2_DISTANCE and L1_DISTANCE . The policy now compares &lt;Threshold&gt; in the direction the declared measure implies, so declaring a non-default measure requires re-tuning the threshold in the same edit. The 0-to-1 restriction on &lt;Threshold&gt; is also removed.

Read the original announcement →

https://docs.cloud.google.com/release-notes#September_09_2026

Related releases