janiussyafiq commented on issue #12962:
URL: https://github.com/apache/apisix/issues/12962#issuecomment-3857858028

   Currently APISIX supports this by using the vars field in route, so what you 
could do is to configure multiple routes with different `vars` to match 
different models in request body, and with different ai provider in 
ai-proxy-multi plugin for each route. Here's an example that you can take a 
look at: 
https://github.com/apache/apisix/blob/f37c19013afe4d515c950dc28d0b388d29f32d85/docs/en/latest/router-radixtree.md?plain=1#L341-L415


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to