Huggingface.js documentation

인터페이스: TextGenerationStreamOutput

Hugging Face's logo
Join the Hugging Face community

and get access to the augmented documentation experience

to get started

인터페이스: TextGenerationStreamOutput

속성

세부 정보

• 세부 정보: null | TextGenerationStreamDetails

생성 세부 정보 생성이 완료된 경우에만 사용할 수 있습니다

정의 위치

inference/src/tasks/nlp/textGenerationStream.ts:84


생성된 텍스트

• generated_text: null | string

생성된 텍스트 완료 생성이 완료된 경우에만 사용 가능

정의 위치

inference/src/tasks/nlp/textGenerationStream.ts:79


index

• Optional index: number

정의 위치

inference/src/tasks/nlp/textGenerationStream.ts:72


토큰

• 토큰: TextGenerationStreamToken

하나씩 생성된 토큰

정의 위치

inference/src/tasks/nlp/textGenerationStream.ts:74

Update on GitHub