LocalAI/core/schema
Prajwal S Nayak 4d98dd9ce7
feat(image): support response_type in the OpenAI API request (#2347)
* Change response_format type to string to match OpenAI Spec

Signed-off-by: prajwal <prajwalnayak7@gmail.com>

* updated response_type type to interface

Signed-off-by: prajwal <prajwalnayak7@gmail.com>

* feat: correctly parse generic struct

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

* add tests

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

---------

Signed-off-by: prajwal <prajwalnayak7@gmail.com>
Signed-off-by: mudler <mudler@localai.io>
Co-authored-by: Ettore Di Giacinto <mudler@users.noreply.github.com>
Co-authored-by: mudler <mudler@localai.io>
2024-05-29 14:40:54 +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(image): support response_type in the OpenAI API request (#2347) 2024-05-29 14:40:54 +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