Portkey-AI / gateway

A Blazing Fast AI Gateway. Route to 200+ LLMs with 1 fast & friendly API.
https://portkey.ai/features/ai-gateway
MIT License
5.21k stars 356 forks source link

[Feature] Support Yi-Large from 01.ai #385

Open hargup opened 1 month ago

hargup commented 1 month ago

What Would You Like to See with the Gateway?

01.ai is a chinese LLM provider with Yi-large being a 34B parameter model with capabilities close to GPT-4. Should like to see 01 as a provider in portkey-ai gateway

Context for your Request

No response

Your Twitter/LinkedIn

https://x.com/hargup13

hargup commented 1 month ago

Should also be a good first issue.

hargup commented 1 month ago

Looks like there is support for 01.AI models already https://github.com/Portkey-AI/gateway/blob/main/src/providers/lingyi/api.ts

Though the API keys I got from the waitlist don't work for lingyi and only work for the url api.01ww.xyz