mirror of
https://github.com/mudler/LocalAI
synced 2026-05-24 09:28:23 +00:00
Improving the chat completion endpoint OpenAI API compatibility by supporting messages of type `input_audio`, e.g.:
```
{
...
"messages": [
{
"role": "user",
"content": [{
"type": "input_audio",
"input_audio": {
"data": "<base64-encoded audio data>",
"format": "wav"
}
}]
}
]
}
```
Closes #5869
Signed-off-by: Max Goltzsche <max.goltzsche@gmail.com>
|
||
|---|---|---|
| .. | ||
| backend.go | ||
| elevenlabs.go | ||
| jina.go | ||
| localai.go | ||
| openai.go | ||
| prediction.go | ||
| request.go | ||
| tokenize.go | ||
| transcription.go | ||