-
Notifications
You must be signed in to change notification settings - Fork 85
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
Feature Request: OpenAI API function support #52
Comments
I tested compatibility just now to try out using the Mistral API with https://github.com/jackmpcollins/magentic and found the allowed options for tool_choice was the only difference. I've opened a new issue specific to that #78 @j-dominguez9 Are there any other specific differences you are aware of? It looks like JSON mode has been added but I haven't tested this. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I first want to mention that I do not want to support OpenAI or want to enable them in any way. That is particularly why I want Mistral to succeed. That being said, their API function has become somewhat standard in a lot of libraries and projects. By changing the 'api_base' argument, you can point it at any url, given that they support that format and functionality. It would make things easier for people switching over codebases and also allow extra functionality, like generating using JSON mode or function calls with pydantic + instructor.
The text was updated successfully, but these errors were encountered: