Possible to add support for OpenAI compatible third party providers? #410
Replies: 2 comments 4 replies
-
Hi @peixotorms we’re almost done with that! @stephan-buckmaster has been taking the lead on it. We merged in the first half last week and he has the second half tee’d up in a PR that we’ve been going back and forth on. I’m going to dig into it again tomorrow so it should be very soon. |
Beta Was this translation helpful? Give feedback.
-
@peixotorms if you want to take a look it’s #389 . The plan is that you’ll be able to create a new backend (arbitrary URL and port, so it could be remote like Groq or local if you’re running a Llamafile or something. Then you specify the “driver” as OpenAI and assuming it follows the same API spec it should “just work”. We haven’t tested extensively yet so it’ll be great if you can try it out after we merge in. I’d love to hear more about your interest in this project? What brought you to it? And what’s motivating you to want to run these alternate models? |
Beta Was this translation helpful? Give feedback.
-
Hi, is it possible to add support for OpenAI compatible third party providers?
Some providers like together.ai for example, return OpenAI compatible replies, so I would like to use some models from them like LLama 3 70B, Mixtral 8x22B, Qwen 2, WizardLM... or whatever.
I don't really do rails, but since the format is the same as OpenAI API, I suppose it should be possible to add some feature, to allow adding a new service, as long as it follows the openai format. Ideally, we would choose the endpoint, api key, model name, temperature, etc and a name, then it would be added to the sidebar, like GPT and Claude.
If it's not too time consuming, please do, as that would be a game changer.
That would also help #366 and possibly other requests, although not directly, but rather via any compatible service provider with OpenAI API compatibility (hence an option to choose the endpoint).
Apparently it's in the works, so if it's going to have the option to add only specific models like I described it above, then you have my thanks.
Beta Was this translation helpful? Give feedback.
All reactions