-
Notifications
You must be signed in to change notification settings - Fork 555
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
Make generate.json
compatible with OpenAI's function calling format
#1376
Comments
@rlouf Can I pick up this task ? |
By all means! |
User should pass OpenAI style dictionary of function and it should be internally converted to same json schema as callable function (dottxt-ai#1376)
@rlouf Can you check if this is what you expected ? I tried to run few demos mentioned in Readme. I could see model gets downloaded but nothing happen after that. I also wrote code(pasted below) to test this PR. But I couldn't run it locally. Can you guide me please ?
|
@rlouf It seems like you planned to do this other way. Can I close this PR ? I would like to contribute to resolve other issue. Is there any issue I can pick for first time contributor ? |
What do you mean by planned to do this another way? |
Sorry I misunderstood when you removed tags. Can you review PR draft and let me know if that's what you are expecting ? |
OpenAI uses a small variation on the JSON Schema specification, and we need to make our interface compatible.
The text was updated successfully, but these errors were encountered: