Log in
Log into community
Welcome to Portkey Forum
New post
View all posts
Related posts
Did this answer your question?
😞
😐
😃
Powered by
Hall
Active
Updated 5 days ago
0
Follow
load balancing
load balancing
Active
0
Follow
n
nerding-io
3 weeks ago
·
Hey is it possible to create a config to load balance, canary test, with virtual keys specifcally for a prompt id?
S
n
8 comments
Share
Open in Discord
S
Snape | Portkey
edited 3 weeks ago
Yes, you can do weighted load balance between different targets
https://portkey.ai/docs/product/ai-gateway/load-balancing
n
nerding-io
6 days ago
Hey circling back to this. What I actually mean is something close to this:
https://portkey.ai/docs/guides/getting-started/a-b-test-prompts-and-models
What I need is to fallback the keys for a particular prompt.
So how would I fallback the prompt id with a different key?
n
nerding-io
6 days ago
@Snape | Portkey ^
S
Snape | Portkey
6 days ago
You can nest targets @nerding-io
S
Snape | Portkey
edited 6 days ago
I'm not sure I understand your requirement correctly, we can jump on a quick 5 min call if you need
S
Snape | Portkey
edited 6 days ago
But you might want to check out conditional routing and nested targets
https://portkey.ai/docs/product/ai-gateway/conditional-routing
n
nerding-io
6 days ago
So this isn't what I meant, but it's super cool. Goona have to try this.
Yea if we can hop on call. What I'm talking about is using a prompt ID with a load balancer or fallback on a 429.
https://portkey.ai/docs/product/ai-gateway/fallbacks
S
Snape | Portkey
5 days ago
let me know what time works for you
Add a reply
Sign up and join the conversation on Discord
Join on Discord