Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

doc: fix typo

Harshit28ja6b57f9301e4
diff --git a/docs/my-website/docs/proxy/guardrails/quick_start.md b/docs/my-website/docs/proxy/guardrails/quick_start.md
index e5a90f74a8a..92ca281bc7e 100644
--- a/docs/my-website/docs/proxy/guardrails/quick_start.md
+++ b/docs/my-website/docs/proxy/guardrails/quick_start.md
@@ -358,13 +358,13 @@ response = client.chat.completions.create(
}
],
extra_body={
- "guardrails": [
+ "guardrails": {
"aporia-pre-guard": {
"extra_body": {
"success_threshold": 0.9
}
}
- ]
+ }
}
)
@@ -387,13 +387,13 @@ curl --location 'http://0.0.0.0:4000/chat/completions' \
"content": "what llm are you"
}
],
- "guardrails": [
+ "guardrails": {
"aporia-pre-guard": {
"extra_body": {
"success_threshold": 0.9
}
}
- ]
+ }
}'
```
</TabItem>
@@ -451,7 +451,6 @@ curl -X POST 'http://0.0.0.0:4000/key/generate' \
-H 'Content-Type: application/json' \
-d '{
"guardrails": ["aporia-pre-guard", "aporia-post-guard"]
- }
}'
```
@@ -465,7 +464,6 @@ curl --location 'http://0.0.0.0:4000/key/update' \
--data '{
"key": "sk-jNm1Zar7XfNdZXp49Z1kSQ",
"guardrails": ["aporia-pre-guard", "aporia-post-guard"]
- }
}'
```