-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feat Request: Different OpenAI API Support #592
Comments
Seems like this would be a quick change, just gotta update the 3 files that reference the OpenAI module... to add the const openai = new OpenAI({ would do it but not home at moment, would also allow you to point it to local ollama and other instances |
Yeah @cchance27 , but we would also need to configure the model, since it won't be compatible with local Instances. |
Ah True True, Not to mention system messages might want to be different for the various prompts, might want to expose or move those to a config or conf in the db to be adjustable, i tend to find ENV variables are great for the base_url, key, model name, but if it ends up being that things like the system messages etc should be adjustable maybe its best to have those manageable from the admin section perhaps? |
Yeah, that would be good |
Support for different kind of APIs because there are multiple Providers which support the OpenAI API, so just be able to change the API URL in the env.
I can't raise an PR.
The text was updated successfully, but these errors were encountered: