LocalAI/pkg/functions
Ettore Di Giacinto 5eda7f578d
refactor: break down json grammar parser in different files (#3004)
* refactor: break down json grammar parser in different files

Signed-off-by: Ettore Di Giacinto <mudler@localai.io>

* fix: patch to `refactor_grammars` - propagate errors (#3006)

propagate errors around

Signed-off-by: Dave Lee <dave@gray101.com>

---------

Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
Signed-off-by: Dave Lee <dave@gray101.com>
Co-authored-by: Dave <dave@gray101.com>
2024-07-25 08:41:00 +02:00
..
bnf_rules.go refactor: break down json grammar parser in different files (#3004) 2024-07-25 08:41:00 +02:00
function_structure.go refactor: break down json grammar parser in different files (#3004) 2024-07-25 08:41:00 +02:00
functions_suite_test.go refactor: break down json grammar parser in different files (#3004) 2024-07-25 08:41:00 +02:00
functions_test.go feat(functions): parse broken JSON when we parse the raw results, use dynamic rules for grammar keys (#2912) 2024-07-18 17:52:22 +02:00
functions.go refactor: break down json grammar parser in different files (#3004) 2024-07-25 08:41:00 +02:00
grammar_json_schema_test.go refactor: break down json grammar parser in different files (#3004) 2024-07-25 08:41:00 +02:00
grammar_json_schema.go refactor: break down json grammar parser in different files (#3004) 2024-07-25 08:41:00 +02:00
json_mode.go refactor: break down json grammar parser in different files (#3004) 2024-07-25 08:41:00 +02:00
options.go feat(grammar): expose properties_order (#2662) 2024-06-26 14:59:02 +02:00
parse_test.go feat(functions): parse broken JSON when we parse the raw results, use dynamic rules for grammar keys (#2912) 2024-07-18 17:52:22 +02:00
parse.go feat(functions): parse broken JSON when we parse the raw results, use dynamic rules for grammar keys (#2912) 2024-07-18 17:52:22 +02:00