LocalAI/core
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
..
backend feat(llama.cpp): add flash_attention and no_kv_offloading (#2310) 2024-05-13 19:07:51 +02:00
cli feat(llama.cpp): Totally decentralized, private, distributed, p2p inference (#2343) 2024-05-20 19:17:59 +02:00
clients feat(store): add Golang client (#1977) 2024-04-16 15:54:14 +02:00
config feat(image): support response_type in the OpenAI API request (#2347) 2024-05-29 14:40:54 +02:00
dependencies_manager feat(webui): statically embed js/css assets (#2348) 2024-05-19 18:24:27 +02:00
http feat(image): support response_type in the OpenAI API request (#2347) 2024-05-29 14:40:54 +02:00
p2p feat(llama.cpp): Totally decentralized, private, distributed, p2p inference (#2343) 2024-05-20 19:17:59 +02:00
schema feat(image): support response_type in the OpenAI API request (#2347) 2024-05-29 14:40:54 +02:00
services feat(webui): ux improvements (#2247) 2024-05-07 01:17:07 +02:00
startup fix(watcher): do not emit fatal errors (#2410) 2024-05-26 14:48:30 +02:00
application.go refactor(application): introduce application global state (#2072) 2024-04-29 17:42:37 +00:00