v0 add rerank on litellm proxy

This commit is contained in:
Ishaan Jaff 2024-08-27 17:28:39 -07:00
parent 37ed201c50
commit fb5be57bb8
12 changed files with 138 additions and 0 deletions

View file

@ -33,6 +33,7 @@ ROUTE_ENDPOINT_MAPPING = {
"aspeech": "/audio/speech",
"atranscription": "/audio/transcriptions",
"amoderation": "/moderations",
"arerank": "/rerank",
}
@ -48,6 +49,7 @@ async def route_request(
"aspeech",
"atranscription",
"amoderation",
"arerank",
],
):
"""