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>
|
||
|---|---|---|
| .. | ||
| elements | ||
| endpoints | ||
| middleware | ||
| routes | ||
| static | ||
| utils | ||
| views | ||
| app.go | ||
| app_test.go | ||
| explorer.go | ||
| http_suite_test.go | ||
| render.go | ||