Buckets:
hf-doc-build/doc-dev / huggingface.js /pr_2407 /en /inference /interfaces /TextGenerationStreamOutput.md
Interface: TextGenerationStreamOutput
Properties
details
• details: null | TextGenerationStreamDetails
Generation details Only available when the generation is finished
Defined in[[details.defined-in]]
inference/src/tasks/nlp/textGenerationStream.ts:84
generated_text
• generated_text: null | string
Complete generated text Only available when the generation is finished
Defined in[[generatedtext.defined-in]]
inference/src/tasks/nlp/textGenerationStream.ts:79
index
• Optional index: number
Defined in[[index.defined-in]]
inference/src/tasks/nlp/textGenerationStream.ts:72
token
• token: TextGenerationStreamToken
Generated token, one at a time
Defined in[[token.defined-in]]
Xet Storage Details
- Size:
- 1.39 kB
- Xet hash:
- ae949e4d4093349184e3673c73b38b367888e37ff4efce5f86aad14866fe550b
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.