Closed RoacherM closed 3 months ago
@wwwy3y3 Hi, I've submitted a pull request (#365) that adds support for specifying third-party OpenAI API services. This feature allows users to set the OPENAI_API_BASE
environment variable to utilize different third-party OpenAI services, enhancing flexibility and customization.
Could you please review and approve this pull request? Thank you for your time and assistance!
@RoacherM sure, thanks for your contribution! I'll help you review this PR
@RoacherM thanks for your contribution! @cyyeh will follow-up review this PR.
@RoacherM Thanks again for your hard work! I've left some comments. Feel free to discuss with me if you found other issues :)
Thanks for your review. I've made some modifications as per your suggestions.
@RoacherM I've merged your hard work to the main branch. Since now we support adding OPENAI_API_BASE to support other OpenAI api compatible models, I also created a PR for adding the support for embedding models. If you are interested, would you like to test this scenario? I suppose this is more complete :) https://github.com/Canner/WrenAI/pull/376
I'd be glad to test the new functionality for supporting embedding models. Thank you for merging my work into the main branch. I will review the code changes and test the embedding model scenario as soon as possible.
On Tue, Jun 4, 2024 at 22:21 Chih-Yu Yeh @.***> wrote:
@RoacherM https://github.com/RoacherM I've merged your hard work to the main branch. Since now we support adding OPENAI_API_BASE to support other OpenAI api compatible models, I also created a PR for adding the support for embedding models. If you are interested, would you like to test this scenario? I suppose this is more complete :) #376 https://github.com/Canner/WrenAI/pull/376
— Reply to this email directly, view it on GitHub https://github.com/Canner/WrenAI/pull/365#issuecomment-2147667030, or unsubscribe https://github.com/notifications/unsubscribe-auth/AH73HHQIIPRVN7R2KFOSSUDZFXEPPAVCNFSM6AAAAABIVUY35GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNBXGY3DOMBTGA . You are receiving this because you were mentioned.Message ID: @.***>
Now, you can specify the
OPENAI_API_BASE
in your environment variables to utilize any third-party OPENAI services. This feature allows for greater flexibility and customization in accessing and integrating with various OPENAI API endpoints provided by different service providers. By setting theOPENAI_API_BASE
environment variable, you can seamlessly switch between or utilize multiple third-party OPENAI services, enhancing the adaptability and functionality of your applications.