Huggingface.js documentation

인터페이스: TextGenerationInput

Hugging Face's logo
Join the Hugging Face community

and get access to the augmented documentation experience

to get started

인터페이스: TextGenerationInput

텍스트 생성 입력

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

인덱싱 가능

▪ [속성: string]: unknown

속성

inputs

• inputs: string

정의 위치

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


매개변수

• Optional 파라미터: TextGenerationInputGenerateParameters

정의 위치

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


스트림

• Optional stream: boolean

정의 위치

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

Update on GitHub