🔍 Contract Compliance Search with Semantic Highlighting

Amazon OpenSearch Service + Titan Text Embeddings V2 + SageMaker Highlighting

How to use

  1. Open Lambda Console → os-demo-query → Test tab
  2. Create a test event: {"query": "data breach notification", "k": 3}
  3. Click Test — copy the JSON response from "Execution result"
  4. Paste it below and click Load Results
Paste Lambda output above to see results with highlighted fragments