Apigee X SemanticCacheLookup Policy Adds Vector Search Distance Measures
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 <DistanceMeasureType> element accepts DOT_PRODUCT_DISTANCE (the default, and the existing behavior), COSINE_DISTANCE , SQUARED_L2_DISTANCE and L1_DISTANCE . The policy now compares <Threshold> 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 <Threshold> is also removed.
https://docs.cloud.google.com/release-notes#September_09_2026
Related releases
- GCP Model Armor Enhances AI Prompt and Response Screening with Larger Token Support Google Cloud release notes ·
- Model Armor Adds Option to Disable Data Residency Enforcement Google Cloud release notes ·
- Google Cloud Contact Center as a Service Patches Numerous Issues Google Cloud release notes ·
- Model Armor Feature Clarification for Melbourne and Seoul Regions Google Cloud release notes ·
- GCP Model Armor Feature Filter v3 Stable Promotion and v1/v2 Retirement Google Cloud release notes ·
- Looker Mobile (Legacy) App Deprecation Postponed Google Cloud release notes ·