10 lines
315 B
C++
10 lines
315 B
C++
#pragma once
|
|
|
|
#include "ggml.h"
|
|
// Change JSON_ASSERT from assert() to GGML_ASSERT:
|
|
#define JSON_ASSERT GGML_ASSERT
|
|
#include "json.hpp"
|
|
|
|
std::string tool_call_grammar(const nlohmann::ordered_json & tools, bool allow_parallel_calls = false);
|
|
std::string json_schema_to_grammar(const nlohmann::ordered_json& schema);
|