-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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
Grammar Guided response from model. #4074
Comments
There is a few PRs over the past year. PR #565 PR #830 PR #1606 PR #3618 PR #2404 PR #2754 PR #3303 Why am I adding this to here? Why aren't these merged yet? |
it wld be helpful if ollama had support for custom grammar, since the json grammar file provided by llama.cpp isnt really that helpful |
I created an extensive PR for supporting grammar and go-side server validation here |
Llama.cpp already has an implementation of grammars. Adding this to the ollama API, would bring more flexibility. This would also help in making reliable agentic llms.
The text was updated successfully, but these errors were encountered: