mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-09-09 19:34:53 +00:00
Clarify that generated_text is optional
This commit is contained in:
parent
49cffad1bc
commit
b10c6e83f2
@ -139,7 +139,7 @@ message Generation {
|
|||||||
string token_text = 5;
|
string token_text = 5;
|
||||||
/// Is it a special token
|
/// Is it a special token
|
||||||
bool token_is_special = 6;
|
bool token_is_special = 6;
|
||||||
/// Complete generated text
|
/// Generated text if completed, or unset otherwise
|
||||||
GeneratedText generated_text = 7;
|
GeneratedText generated_text = 7;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user