forked from phoenix/litellm-mirror
docs(pii_masking.md): fix presidio tutorial
This commit is contained in:
parent
d95eb6ca43
commit
f09c09ace4
2 changed files with 2 additions and 2 deletions
|
@ -15,7 +15,7 @@ export PRESIDIO_ANONYMIZER_API_BASE="http://localhost:5001"
|
|||
|
||||
```yaml
|
||||
litellm_settings:
|
||||
litellm.callbacks = ["presidio"]
|
||||
callbacks = ["presidio", ...] # e.g. ["presidio", custom_callbacks.proxy_handler_instance]
|
||||
```
|
||||
|
||||
## Start proxy
|
||||
|
|
|
@ -366,7 +366,7 @@ def embedding(
|
|||
aws_access_key_id = optional_params.pop("aws_access_key_id", None)
|
||||
aws_region_name = optional_params.pop("aws_region_name", None)
|
||||
|
||||
if aws_access_key_id != None:
|
||||
if aws_access_key_id is not None:
|
||||
# uses auth params passed to completion
|
||||
# aws_access_key_id is not None, assume user is trying to auth using litellm.completion
|
||||
client = boto3.client(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue