liblloyal 1.0.0
Composable primitives for llama.cpp inference
Loading...
Searching...
No Matches
lloyal::common_grammar_builder Struct Reference

#include <json-schema-to-grammar.hpp>

Public Attributes

std::function< std::string(const std::string &, const std::string &)> add_rule
 
std::function< std::string(const std::string &, const json &)> add_schema
 
std::function< void(json &)> resolve_refs
 

Detailed Description

Definition at line 39 of file json-schema-to-grammar.hpp.

Member Data Documentation

◆ add_rule

std::function<std::string(const std::string &, const std::string &)> lloyal::common_grammar_builder::add_rule

Definition at line 40 of file json-schema-to-grammar.hpp.

◆ add_schema

std::function<std::string(const std::string &, const json &)> lloyal::common_grammar_builder::add_schema

Definition at line 41 of file json-schema-to-grammar.hpp.

◆ resolve_refs

std::function<void(json &)> lloyal::common_grammar_builder::resolve_refs

Definition at line 42 of file json-schema-to-grammar.hpp.


The documentation for this struct was generated from the following file: