LocalAI/core/http/endpoints/openai
Ettore Di Giacinto bf9dd1de7f
feat(functions): parse broken JSON when we parse the raw results, use dynamic rules for grammar keys (#2912)
* feat(functions): enhance parsing with broken JSON when we parse the raw results

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

* breaking: make function name by default

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

* feat(grammar): dynamically generate grammars with mutating keys

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

* refactor: simplify condition

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

* Update docs

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

---------

Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
2024-07-18 17:52:22 +02:00
..
assistant_test.go docs(swagger): core more localai/openai endpoints (#2904) 2024-07-18 00:38:41 -04:00
assistant.go docs(swagger): core more localai/openai endpoints (#2904) 2024-07-18 00:38:41 -04:00
chat.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
completion.go feat(model-list): be consistent, skip known files from listing (#2760) 2024-07-10 15:28:39 +02:00
edit.go docs(swagger): core more localai/openai endpoints (#2904) 2024-07-18 00:38:41 -04:00
embeddings.go feat(model-list): be consistent, skip known files from listing (#2760) 2024-07-10 15:28:39 +02:00
files_test.go docs(swagger): core more localai/openai endpoints (#2904) 2024-07-18 00:38:41 -04:00
files.go docs(swagger): core more localai/openai endpoints (#2904) 2024-07-18 00:38:41 -04:00
image.go feat(model-list): be consistent, skip known files from listing (#2760) 2024-07-10 15:28:39 +02:00
inference.go chore: fix go.mod module (#2635) 2024-06-23 08:24:36 +00:00
list.go feat(model-list): be consistent, skip known files from listing (#2760) 2024-07-10 15:28:39 +02:00
request.go feat(model-list): be consistent, skip known files from listing (#2760) 2024-07-10 15:28:39 +02:00
transcription.go feat(model-list): be consistent, skip known files from listing (#2760) 2024-07-10 15:28:39 +02:00