Skip to content
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

Allow change OpenAI base url #54

Open
ProgramFan opened this issue Jul 25, 2023 · 5 comments
Open

Allow change OpenAI base url #54

ProgramFan opened this issue Jul 25, 2023 · 5 comments

Comments

@ProgramFan
Copy link

Thus it is possible to use Azure models and API proxies.

@alibama
Copy link

alibama commented Sep 13, 2023

great idea...

i'm curious if something like localai is actually a drop-in replacement or not? depending on how the code is organized there may be some challenges to other parts of the UI? it could also open up some opportunities to use the open source summarize tools... #17 seems to reference back to some ideas around this as well..

@lifan0127
Copy link
Owner

@ProgramFan It is now possible to customize the OpenAI base URL. Please give it a try.

https://github.com/lifan0127/ai-research-assistant/releases/tag/0.6.4

@FetchFast
Copy link

I think it would work if we could also specify the base model to our Azure model name. (this is a custom settable string)

@lifan0127
Copy link
Owner

Currently I don't have access to Azure GPT-4 to develop this feature. If someone is willing to share their access, I am happy to add the support. My contact info is available on my website: https://apex974.com

@ProgramFan
Copy link
Author

@ProgramFan It is now possible to customize the OpenAI base URL. Please give it a try.

https://github.com/lifan0127/ai-research-assistant/releases/tag/0.6.4

It works great. For anyone wants to access OpenAI API but does not want to setup a server himself, he can create an OpenAI endpoint at CloudFlare AI endpoints, for free.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants