lmstudio-ai / configs

LM Studio JSON configuration file format and a collection of example config files.
MIT License
172 stars 26 forks source link

Does LM Studio support configuring grammar file (GBNF)? #7

Open jaroslav-bellus opened 6 months ago

jaroslav-bellus commented 6 months ago

Can I provide my custom GBNF to LM Studio and receive the response in the desired format? For example, in llama.cpp, this is achieved through the parameter grammar-file grammars/answer.gbnf