-
Notifications
You must be signed in to change notification settings - Fork 8
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
Change target url endpoint #1
Comments
Wouldn't their own API endpoint have different parameters though? |
No, people are modeling their endpoints to duplicate the openai endpoints. This way people can drop in replace their own llm frameworks instead of openai, an interesting idea imo. You don't have to do this, but it is a low hanging fruit. You can default it to the openai url. I personally would have used your project, but I needed this ability to point to a different endpoint. Might come back if the solution I have now doesn't work. |
Done! |
🎉 This issue has been resolved in version 1.4.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Might be a good idea to let the endpoint be set so that this library could be used when someone makes their own openai api. Many people self-hosting llm are doing this and matching openai integrations to make it seamless.
completions/src/createCompletions.ts
Line 117 in 125e20b
The text was updated successfully, but these errors were encountered: