Portkey-AI / gateway

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

[Provider] xAI #693

Open vrushankportkey opened 1 week ago

vrushankportkey commented 1 week ago

x.AI has an API following /chat/completions now - https://docs.x.ai/api/endpoints#chat-completions

Akshay-66 commented 1 week ago

Can I work on this !!

vrushankportkey commented 1 week ago

Please go ahead! This would be amazing!!

dhirenmathur commented 3 days ago

Hey @Akshay-66 I tried generating an initial LLD for this with potpie.ai, maybe it is helpful!

PentesterPriyanshu commented 2 days ago

@vrushankportkey i can do it i can you assign to me

Akshay-66 commented 2 days ago

Great @dhirenmathur, Thanks for that. xAI haven't provided the endpoint for free (now), that's the reason for not moving. Do you have any alternative for that (like any 3rd party providing the same).