mirror of
https://github.com/ollama/ollama.git
synced 2026-04-23 17:29:54 +02:00
next ollama runner
implement llama and mllama model architectures in go using ggml (through cgo)
This commit is contained in:
8
llama/llama.cpp/common/json-schema-to-grammar.h
vendored
Normal file
8
llama/llama.cpp/common/json-schema-to-grammar.h
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
#pragma once
|
||||
|
||||
#include "ggml.h"
|
||||
// Change JSON_ASSERT from assert() to GGML_ASSERT:
|
||||
#define JSON_ASSERT GGML_ASSERT
|
||||
#include "json.hpp"
|
||||
|
||||
std::string json_schema_to_grammar(const nlohmann::ordered_json& schema);
|
||||
Reference in New Issue
Block a user