LocalAI/core/backend
Chakib Benziane b99182c8d4
TTS API improvements (#2308)
* update doc on COQUI_LANGUAGE env variable

Signed-off-by: blob42 <contact@blob42.xyz>

* return errors from tts gRPC backend

Signed-off-by: blob42 <contact@blob42.xyz>

* handle speaker_id and language in coqui TTS backend

Signed-off-by: blob42 <contact@blob42.xyz>

* TTS endpoint: add optional language paramter

Signed-off-by: blob42 <contact@blob42.xyz>

* tts fix: empty language string breaks non-multilingual models

Signed-off-by: blob42 <contact@blob42.xyz>

* allow tts param definition in config file

- consolidate TTS options under `tts` config entry

Signed-off-by: blob42 <contact@blob42.xyz>

* tts: update doc

Signed-off-by: blob42 <contact@blob42.xyz>

---------

Signed-off-by: blob42 <contact@blob42.xyz>
Co-authored-by: Ettore Di Giacinto <mudler@users.noreply.github.com>
2024-06-01 18:26:27 +00:00
..
embeddings.go Revert #1963 (#2056) 2024-04-17 23:33:49 +02:00
image.go Revert #1963 (#2056) 2024-04-17 23:33:49 +02:00
llm.go Revert #1963 (#2056) 2024-04-17 23:33:49 +02:00
options.go feat(llama.cpp): add flash_attention and no_kv_offloading (#2310) 2024-05-13 19:07:51 +02:00
rerank.go feat(rerankers): Add new backend, support jina rerankers API (#2121) 2024-04-25 00:19:02 +02:00
stores.go feat(stores): Vector store backend (#1795) 2024-03-22 21:14:04 +01:00
transcript.go refactor(application): introduce application global state (#2072) 2024-04-29 17:42:37 +00:00
tts.go TTS API improvements (#2308) 2024-06-01 18:26:27 +00:00