llama.cpp/common/json-schema-to-grammar.h

5 lines
100 B
C++

#pragma once
#include "json.hpp"
std::string json_schema_to_grammar(const nlohmann::json& schema);