Skip to content

Commit 79d5930

Browse files
authored
Document Bedrock inference-region limitation in Part 2 (#26)
Part 2 geo-segmentation is fully correct on the non-Bedrock path (OpenAI/Anthropic/Mistral). On the AWS Bedrock path it segments model and PII-redaction correctly but cannot segment the AWS inference region (BEDROCK_INFERENCE_REGION is process-global). Adds an honest caveat at the end of Step 3 noting per-variation region is a planned enhancement.
1 parent 16b94fe commit 79d5930

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

tutorial_2.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -283,6 +283,8 @@ Here's how the smart segmentation works:
283283
- **Free users**: Basic search tools (`search_v1`)
284284
- **Paid users**: Full research capabilities (`search_v1`, `search_v2`, `reranking`, `arxiv_search`, `semantic_scholar`)
285285

286+
> **Note — AWS Bedrock inference region:** This geo-segmentation is fully correct for the **non-Bedrock** path (direct OpenAI / Anthropic / Mistral APIs) — EU vs non-EU routing of model, provider, and PII-redaction strictness works exactly as described. On the **AWS Bedrock** path it likewise segments the model and redaction correctly, but it **cannot segment the AWS inference region**: the region prefix is process-global (set once via `BEDROCK_INFERENCE_REGION`), so every Bedrock call in a deployment uses the same region regardless of the user's EU/non-EU segment. Making the inference region a per-variation property is a planned LaunchDarkly enhancement; until then, run separate deployments per region if EU-region inference is a hard requirement.
287+
286288
## Step 4: Test Segmentation with Script (2 minutes)
287289

288290
The included test script simulates real user scenarios across all segments, verifying that your targeting rules work correctly. It sends actual API requests to your system and confirms each user type gets the right model, tools, and behavior.

0 commit comments

Comments
 (0)