|
liblloyal 1.0.0
Branched Inference for llama.cpp
|
RAII entry for a grammar sampler in the registry. More...
#include <lloyal/branch.hpp>
Public Member Functions | |
| GrammarEntry ()=default | |
| ~GrammarEntry () | |
| GrammarEntry (GrammarEntry &&o) noexcept | |
| GrammarEntry & | operator= (GrammarEntry &&o) noexcept |
| GrammarEntry (const GrammarEntry &)=delete | |
| GrammarEntry & | operator= (const GrammarEntry &)=delete |
Public Attributes | |
| llama_sampler * | sampler = nullptr |
RAII entry for a grammar sampler in the registry.
Owns the llama_sampler* for GBNF grammar constraints. Move-only.
Definition at line 190 of file branch.hpp.
|
default |
|
inline |
Definition at line 194 of file branch.hpp.
|
inlinenoexcept |
Definition at line 196 of file branch.hpp.
|
delete |
|
delete |
|
inlinenoexcept |
Definition at line 197 of file branch.hpp.
| llama_sampler* lloyal::branch::GrammarEntry::sampler = nullptr |
Definition at line 191 of file branch.hpp.