LocalAI/api/openai
Ettore Di Giacinto 0eae727366
🔥 add LaVA support and GPT vision API, Multiple requests for llama.cpp, return JSON types (#1254)
* wip

* wip

* Make it functional

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

* wip

* Small fixups

* do not inject space on role encoding, encode img at beginning of messages

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

* Add examples/config defaults

* Add include dir of current source dir

* cleanup

* fixes

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

* fixups

* Revert "fixups"

This reverts commit f1a4731cca.

* fixes

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

---------

Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
2023-11-11 13:14:59 +01:00
..
chat.go 🔥 add LaVA support and GPT vision API, Multiple requests for llama.cpp, return JSON types (#1254) 2023-11-11 13:14:59 +01:00
completion.go 🔥 add LaVA support and GPT vision API, Multiple requests for llama.cpp, return JSON types (#1254) 2023-11-11 13:14:59 +01:00
edit.go fix(openai): Populate ID and Created fields in OpenAI compatible responses (#1164) 2023-10-12 02:00:08 +00:00
embeddings.go fix(openai): Populate ID and Created fields in OpenAI compatible responses (#1164) 2023-10-12 02:00:08 +00:00
image.go fix(openai): Populate ID and Created fields in OpenAI compatible responses (#1164) 2023-10-12 02:00:08 +00:00
inference.go 🔥 add LaVA support and GPT vision API, Multiple requests for llama.cpp, return JSON types (#1254) 2023-11-11 13:14:59 +01:00
list.go fix: drop racy code, refactor and group API schema (#931) 2023-08-20 14:04:45 +02:00
request.go 🔥 add LaVA support and GPT vision API, Multiple requests for llama.cpp, return JSON types (#1254) 2023-11-11 13:14:59 +01:00
transcription.go feat: cancel stream generation if client disappears (#792) 2023-07-24 23:10:54 +02:00