abetlen / abetlen/llama-cpp-python
Support passing grammars to server on the command line.
Open
enhancement
- Dominant language
- Python
- Stars
- 10.6k
- Forks
- 1.4k
- PR merge metrics
- PR metrics pending
Description
**Is your feature request related to a problem? Please describe.**
The `python3 -m llama_cpp.server` command doesn't have a parameter to pass along a grammar the same way llama.cpp does.
**Describe the solution you'd like**
A `--grammar` command line parameter for the server.
Thanks!!
Contributor guide
Assessment
This issue has not been assessed yet.