LocalAI/core/schema
Ettore Di Giacinto efa32a2677
feat(grammar): support models with specific construct (#2291)
When enabling grammar with functions, it might be useful to
allow more flexibility to support models that are fine-tuned against returning
function calls of the form of { "name": "function_name", "arguments" {...} }
rather then { "function": "function_name", "arguments": {..} }.

This might call out to a more generic approach later on, but for the moment being we can easily support both
as we have just to specific different types.

If needed we can expand on this later on

Signed-off-by: mudler <mudler@localai.io>
2024-05-12 01:13:22 +02:00
..
elevenlabs.go feat(tts): add Elevenlabs and OpenAI TTS compatibility layer (#1834) 2024-03-14 23:08:34 +01:00
jina.go feat(rerankers): Add new backend, support jina rerankers API (#2121) 2024-04-25 00:19:02 +02:00
localai.go feat(stores): Vector store backend (#1795) 2024-03-22 21:14:04 +01:00
openai.go feat(grammar): support models with specific construct (#2291) 2024-05-12 01:13:22 +02:00
prediction.go fix(llama.cpp): set better defaults for llama.cpp (#1961) 2024-04-06 22:56:45 +02:00
transcription.go refactor(application): introduce application global state (#2072) 2024-04-29 17:42:37 +00:00