mirror of
https://github.com/mudler/LocalAI.git
synced 2025-02-14 06:32:01 +00:00
aujdio
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
This commit is contained in:
parent
4ca7689f31
commit
9b6826d5ff
@ -159,6 +159,7 @@ message Reply {
|
|||||||
bytes message = 1;
|
bytes message = 1;
|
||||||
int32 tokens = 2;
|
int32 tokens = 2;
|
||||||
int32 prompt_tokens = 3;
|
int32 prompt_tokens = 3;
|
||||||
|
string audio_output = 4;
|
||||||
}
|
}
|
||||||
|
|
||||||
message ModelOptions {
|
message ModelOptions {
|
||||||
|
@ -22,8 +22,9 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
type LLMResponse struct {
|
type LLMResponse struct {
|
||||||
Response string // should this be []byte?
|
Response string // should this be []byte?
|
||||||
Usage TokenUsage
|
Usage TokenUsage
|
||||||
|
AudioOutput string
|
||||||
}
|
}
|
||||||
|
|
||||||
type TokenUsage struct {
|
type TokenUsage struct {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user