Huggingface.js documentation

인터페이스: TextGenerationOutput

Hugging Face's logo
Join the Hugging Face community

and get access to the augmented documentation experience

to get started

인터페이스: TextGenerationOutput

텍스트 생성 출력

TGI 스펙에서 자동 생성되었습니다. 자세한 내용은 https://github.com/huggingface/huggingface.js/blob/main/packages/tasks/scripts/inference-tgi-import.ts를 확인하세요.

인덱싱 가능

▪ [속성: string]: unknown

속성

세부 정보

• Optional 세부 정보: TextGenerationOutputDetails

정의 위치

tasks/dist/esm/tasks/text-generation/inference.d.ts:121


생성된 텍스트

• generated_text: string

정의 위치

tasks/dist/esm/tasks/text-generation/inference.d.ts:122

Update on GitHub