docs tag management

This commit is contained in:
Ishaan Jaff 2025-04-12 16:30:56 -07:00
parent 54e7b1b7f6
commit ddab2837a0
5 changed files with 34 additions and 0 deletions

View file

@ -0,0 +1,30 @@
import Image from '@theme/IdealImage';
# Routing based on request metadata
Create routing rules based on request metadata.
## Setup
Add the following to your litellm proxy config yaml file.
```yaml
router_settings:
enable_tag_filtering: True # 👈 Key Change
```
## 1. Create a tag
## 2. Test Tag Routing
### 2.1 Invalid model
<Image img={require('../../img/tag_invalid.png')} style={{ width: '800px', height: 'auto' }} />
### 2.2 Valid model
<Image img={require('../../img/tag_valid.png')} style={{ width: '800px', height: 'auto' }} />

Binary file not shown.

After

Width:  |  Height:  |  Size: 237 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 319 KiB

View file

@ -444,6 +444,7 @@ const sidebars = {
items: [ items: [
"tutorials/openweb_ui", "tutorials/openweb_ui",
"tutorials/msft_sso", "tutorials/msft_sso",
"tutorials/tag_management",
'tutorials/litellm_proxy_aporia', 'tutorials/litellm_proxy_aporia',
{ {
type: "category", type: "category",

View file

@ -19,3 +19,6 @@ litellm_settings:
success_callback: ["langfuse", "s3"] success_callback: ["langfuse", "s3"]
langfuse_secret: secret-workflows-key langfuse_secret: secret-workflows-key
langfuse_public_key: public-workflows-key langfuse_public_key: public-workflows-key
router_settings:
enable_tag_filtering: True # 👈 Key Change