Skip to content

Commit

Permalink
trim trailing whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
krrishdholakia authored Jul 23, 2024
1 parent a27e7ee commit b0af3ca
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/tutorials/litellm.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export LLM_GUARD_API_BASE="http://0.0.0.0:8192" # deployed llm guard api
export ANTHROPIC_API_KEY="sk-..." # anthropic api key
```

Add `llmguard_moderations` as a callback in a config.yaml
Add `llmguard_moderations` as a callback in a config.yaml

```yaml
model_list:
Expand All @@ -39,10 +39,10 @@ litellm_settings:
callbacks: ["llmguard_moderations"]
```
Now you can easily test it:
Now you can easily test it:
```bash
litellm --config /path/to/config.yaml
litellm --config /path/to/config.yaml
```

- Make a regular /chat/completion call
Expand Down

0 comments on commit b0af3ca

Please sign in to comment.