From 0935d162f690bc116e048598459469d9dfd01dc8 Mon Sep 17 00:00:00 2001 From: Krrish Dholakia Date: Mon, 22 Jul 2024 22:59:00 -0700 Subject: [PATCH] docs: cleanup docs --- .../docs/proxy/team_based_routing.md | 35 +------------------ 1 file changed, 1 insertion(+), 34 deletions(-) diff --git a/docs/my-website/docs/proxy/team_based_routing.md b/docs/my-website/docs/proxy/team_based_routing.md index 6a68e5a1f8..682fc01844 100644 --- a/docs/my-website/docs/proxy/team_based_routing.md +++ b/docs/my-website/docs/proxy/team_based_routing.md @@ -1,4 +1,4 @@ -# 👥 Team-based Routing + Logging +# 👥 Team-based Routing ## Routing Route calls to different model groups based on the team-id @@ -70,36 +70,3 @@ curl --location 'http://0.0.0.0:4000/v1/chat/completions' \ "user": "usha" }' ``` - - -## Logging / Caching - -Turn on/off logging and caching for a specific team id. - -**Example:** - -This config would send langfuse logs to 2 different langfuse projects, based on the team id - -```yaml -litellm_settings: - default_team_settings: - - team_id: my-secret-project - success_callback: ["langfuse"] - langfuse_public_key: os.environ/LANGFUSE_PUB_KEY_1 # Project 1 - langfuse_secret: os.environ/LANGFUSE_PRIVATE_KEY_1 # Project 1 - - team_id: ishaans-secret-project - success_callback: ["langfuse"] - langfuse_public_key: os.environ/LANGFUSE_PUB_KEY_2 # Project 2 - langfuse_secret: os.environ/LANGFUSE_SECRET_2 # Project 2 -``` - -Now, when you [generate keys](./virtual_keys.md) for this team-id - -```bash -curl -X POST 'http://0.0.0.0:4000/key/generate' \ --H 'Authorization: Bearer sk-1234' \ --H 'Content-Type: application/json' \ --d '{"team_id": "ishaans-secret-project"}' -``` - -All requests made with these keys will log data to their team-specific logging.