mirror of
https://github.com/mudler/LocalAI.git
synced 2025-05-20 10:35:01 +00:00
aujdio
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
This commit is contained in:
parent
4ca7689f31
commit
9b6826d5ff
2 changed files with 4 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue