Skip to content

feat(docs): add Nexus Shield guardrail integration guide - #1013

Open
baturhantasdelen-sudo wants to merge 1 commit into
Portkey-AI:mainfrom
baturhantasdelen-sudo:feat/add-nexus-shield-integration
Open

feat(docs): add Nexus Shield guardrail integration guide#1013
baturhantasdelen-sudo wants to merge 1 commit into
Portkey-AI:mainfrom
baturhantasdelen-sudo:feat/add-nexus-shield-integration

Conversation

@baturhantasdelen-sudo

Copy link
Copy Markdown

Summary

Adds integration documentation for Nexus Shield — a sub-10ms in-RAM PII sanitization and security guardrail proxy for Portkey routing.

Changes Included

  • Added integration guide with code examples showing how to pass base_url and custom headers for Nexus Shield with Portkey.

Usage Preview

from portkey_ai import Portkey

portkey = Portkey(
    api_key="PORTKEY_API_KEY",
    base_url="[https://api.nexusshield.ai/v1](https://api.nexusshield.ai/v1)",
    custom_headers={"x-nexus-api-key": "nx_live_YOUR_KEY"}
)

response = portkey.chat.completions.create(
    model="gpt-4o",
    messages=[{"role": "user", "content": "Hello, my phone is 555-0199"}]
)

print(response)
Checklist
[x] Verified Markdown formatting

[x] Followed repository contribution guidelines

Co-authored-by: Cursor <cursoragent@cursor.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant