🤖 AI Tools
Portkey Guardrail Policy Sheet from Route Inventory (No Invented Token Costs)
Turn a Portkey route inventory into a guardrail policy sheet only. No invented token costs, latency ms, or API keys beyond the inventory.
0Reviews
Prompt
Act as a Portkey AI gateway reliability engineer who only uses a pasted route inventory. You write a guardrail policy sheet the inventory already supports. You do not invent token costs, latency milliseconds, API keys, or user emails not in Inputs. This is not a Portkey billing estimate and not a model-benchmark certificate. You work only from Inputs. Do not invent stats, citations, quotes, URLs, names, IDs, or records that are not in Inputs. Inputs: - Route inventory I lock (route stubs, guardrail cues, provider notes): [Inventory] - Portkey / gateway version notes I lock: [Version] - Project or workspace label I may quote (or UNKNOWN): [Workspace] - Required policy or route names I may quote (or UNKNOWN): [SpecNames] - Route titles already present (or UNKNOWN): [RouteCues] - Guardrail and limit cues already present (or UNKNOWN): [GuardrailCues] - Provider and model notes already present (or UNKNOWN): [ProviderNotes] - Words I must not use: [Banned] - What I must never invent (token costs, latency ms, API keys, user emails): [Never] - Output format: [Format] - Language: [Lang] Generate: 1. Honesty ledger: Inventory nouns, Version, Workspace, SpecNames, RouteCues, GuardrailCues, ProviderNotes, Lang. Forbidden: invented token costs, latency ms, API keys, user emails. Banner: not a Portkey billing estimate; not a model-benchmark certificate. 2. Guardrail policy sheet: one numbered row per Inventory route stub or guardrail cue. Missing ProviderNotes write NOT IN INPUTS. Use Portkey Virtual Keys, Configs, Guardrails, Fallbacks, and Caches language when Inventory supports it. Never print token-cost or latency VALUES not in Inventory. 3. Spec name set: only names in SpecNames. Unnamed routes stay NOT IN INPUTS. Never invent API-key VALUES not in Inventory. 4. Version lock: print Version. Refuse Portkey features newer than Version if Version is named. 5. Refuse list: inventing token costs, inventing latency ms, inventing API keys, inventing user emails. 6. Compliance pass: quote Banned and Never hits. Cut them. Format as Format. Constraints: - Sheet from Inventory only. No invented token-cost VALUES. Teach Portkey guardrail policies, not a Helicone or Langfuse swap. - Honor Version. No emojis.
Instructions
Replace every [bracket] with your details before running. Works on ChatGPT, Claude, and Gemini.
Generated Output
This image was generated using the prompt above.

Examples
Example Input
Inventory: route Harbor Quay Chat as pasted guardrail cue PII redact as pasted provider notes gpt-4o-mini as pasted; route River Ops Embed as pasted guardrail cue Max tokens 2k as pasted. Cost invent NONE. Latency invent NONE. Version: Portkey 2025 as pasted (do not invent unreleased AI policy writer) Workspace: Harbor Quay gateway project as pasted SpecNames: Chat guardrail policy as pasted; Embed guardrail policy as pasted. API key UNKNOWN. RouteCues: Chat as pasted; Embed as pasted. Batch UNKNOWN. GuardrailCues: PII redact as pasted; Max tokens 2k as pasted. Jailbreak UNKNOWN. ProviderNotes: gpt-4o-mini as pasted. Token cost VALUES NOT IN INPUTS. Banned: guaranteed cost, cost invent, latency invent, key invent Never: invent token costs, invent latency ms, invent API keys, invent user emails Format: ledger + sheet + specs + version + refuse + compliance Lang: English
Example Output
1. Ledger. Inventory: route Harbor Quay Chat guardrail cue PII redact provider notes gpt-4o-mini; route River Ops Embed guardrail cue Max tokens 2k. Cost invent NONE. Latency invent NONE. Version Portkey 2025. Workspace Harbor Quay gateway project. SpecNames Chat guardrail policy; Embed guardrail policy; API key UNKNOWN. RouteCues Chat; Embed; Batch UNKNOWN. GuardrailCues PII redact; Max tokens 2k; Jailbreak UNKNOWN. ProviderNotes gpt-4o-mini; Token cost VALUES NOT IN INPUTS. Lang English. Banner: not a Portkey billing estimate; not a model-benchmark certificate. Forbidden: invented token costs, latency ms, API keys, user emails, guaranteed cost, cost invent, latency invent, key invent. 2. Guardrail policy sheet. 1. Harbor Quay Chat | RouteCues Chat as pasted | GuardrailCues PII redact as pasted | ProviderNotes gpt-4o-mini as pasted | cost VALUES NONE | latency VALUES NONE | Portkey guardrail policy sheet only. 2. River Ops Embed | RouteCues Embed as pasted | GuardrailCues Max tokens 2k as pasted | ProviderNotes beyond gpt-4o-mini NOT IN INPUTS | cost VALUES NONE | latency VALUES NONE. API key UNKNOWN so write API key NOT IN INPUTS. Batch not invented beyond RouteCues. 3. Spec name set. Chat guardrail policy; Embed guardrail policy as SpecNames. API key UNKNOWN so write API key NOT IN INPUTS. No token-cost VALUES beyond Inventory. No third route invented. 4. Version lock. Portkey 2025 as pasted. Unreleased AI policy writer not used. User email packs NOT IN INPUTS. 5. Refuse. Cost invent: refused. Latency invent: refused. Key invent: refused. Email invent: refused. Guaranteed cost: refused. 6. Compliance. Banned hits none. Format ledger+sheet+specs+version+refuse+compliance. Gaps: API key policy, Batch RouteCues, Jailbreak GuardrailCues, token cost VALUES ProviderNotes, fallback chain labels if any. Missing-data policy: if a field was blank, write NOT IN INPUTS rather than guessing. Lock any tool version named in Inputs; if unnamed, write unknown. No invented testimonials, star ratings, or press logos. If legal, clinical, insurance, HR, education-plan, or veterinary content appears, add a one-line not-advice and de-identify banner. Quote banned-word hits and cut them. End with a gaps list of five bullets the user still owes you. Character and byte caps in the job are hard; print counts when relevant. Refuse to backfill DOIs, exam dumps, PHI, PII, or compensation promises not in Inputs.