mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-12 23:01:41 +00:00
docs guardrailConfig
This commit is contained in:
parent
21963e0bbe
commit
3ce0cac56d
1 changed files with 1 additions and 1 deletions
|
|
@ -412,7 +412,7 @@ response = client.chat.completions.create(model="anthropic.claude-v2", messages
|
|||
],
|
||||
temperature=0.7,
|
||||
extra_body={
|
||||
guardrailConfig={
|
||||
"guardrailConfig": {
|
||||
"guardrailIdentifier": "ff6ujrregl1q", # The identifier (ID) for the guardrail.
|
||||
"guardrailVersion": "DRAFT", # The version of the guardrail.
|
||||
"trace": "disabled", # The trace behavior for the guardrail. Can either be "disabled" or "enabled"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue