Skip to content

Commit

Permalink
update doc
Browse files Browse the repository at this point in the history
  • Loading branch information
spikelu2016 committed Jan 1, 2024
1 parent a0997c6 commit 9aa21ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cookbook/openai_with_azure_openai_failover.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ curl -X PUT http://localhost:8001/api/key-management/keys \
```

### Step 4 - Create a route that calls OpenAI chat completion with Azure OpenAI chat completion as fallback
Use `id` from the step 3 as part of `keyIds` to create a route with a caching TTL of 5 seconds.
Use `id` from the step 3 as part of `keyIds` to create a route with a caching TTL of 5 seconds, 2 retries for the initial OpenAI requests with a timeout of 10 seconds and 2 retries for the azure openai failover with a timeout of 10 seconds.

```bash
curl -X POST http://localhost:8001/api/routes \
Expand Down

0 comments on commit 9aa21ae

Please sign in to comment.