From e35fc3203e21e7e24f458a81da5298e3be75b5ee Mon Sep 17 00:00:00 2001 From: Ishaan Jaff Date: Fri, 18 Oct 2024 15:43:04 +0530 Subject: [PATCH] doc fix Turn on / off caching per Key. (#6297) --- docs/my-website/docs/proxy/caching.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/my-website/docs/proxy/caching.md b/docs/my-website/docs/proxy/caching.md index 9e3e27bf3..d81db5b93 100644 --- a/docs/my-website/docs/proxy/caching.md +++ b/docs/my-website/docs/proxy/caching.md @@ -727,7 +727,7 @@ curl http://localhost:4000/v1/chat/completions \ curl -X POST 'http://0.0.0.0:4000/key/generate' \ -H 'Authorization: Bearer sk-1234' \ -H 'Content-Type: application/json' \ --D '{ +-d '{ "user_id": "222", "metadata": { "cache": { @@ -743,7 +743,7 @@ curl -X POST 'http://0.0.0.0:4000/key/generate' \ curl -X POST 'http://localhost:4000/chat/completions' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer ' \ --D '{"model": "gpt-3.5-turbo", "messages": [{"role": "user", "content": "bom dia"}]}' +-d '{"model": "gpt-3.5-turbo", "messages": [{"role": "user", "content": "bom dia"}]}' ``` ### Deleting Cache Keys - `/cache/delete`