json-schema-to-grammar.h 211 B

12345678
  1. #pragma once
  2. #include "ggml.h"
  3. // Change JSON_ASSERT from assert() to GGML_ASSERT:
  4. #define JSON_ASSERT GGML_ASSERT
  5. #include "json.hpp"
  6. std::string json_schema_to_grammar(const nlohmann::ordered_json& schema);