# Arayüz: TextGenerationStreamBestOfSequence

## Özellikler

### finish\_reason

• **finish\_reason**: [`TextGenerationStreamFinishReason`](../modules#textgenerationstreamfinishreason)

Üretim bitme nedeni

#### Tanımlandığı yer[[finishreason.defined-in]]

[inference/src/tasks/nlp/textGenerationStream.ts:37](https://github.com/huggingface/huggingface.js/blob/main/packages/inference/src/tasks/nlp/textGenerationStream.ts#L37)

___

### oluşturulan\_metin

• **oluşturulan\_metin**: `string`

Oluşturulan metin

#### Tanımlandığı yer[[generatedtext.defined-in]]

[inference/src/tasks/nlp/textGenerationStream.ts:35](https://github.com/huggingface/huggingface.js/blob/main/packages/inference/src/tasks/nlp/textGenerationStream.ts#L35)

___

### oluşturulan\_tokenlar

• **oluşturulan\_tokenler**: `number`

Oluşturulan jeton sayısı

#### Tanımlandığı yer[[generatedtokens.defined-in]]

[inference/src/tasks/nlp/textGenerationStream.ts:39](https://github.com/huggingface/huggingface.js/blob/main/packages/inference/src/tasks/nlp/textGenerationStream.ts#L39)

___

### prefill

• **prefill**: [`TextGenerationStreamPrefillToken`](TextGenerationStreamPrefillToken)[]

Prompt jetonları

#### Tanımlandığı yer[[prefill.defined-in]]

[inference/src/tasks/nlp/textGenerationStream.ts:43](https://github.com/huggingface/huggingface.js/blob/main/packages/inference/src/tasks/nlp/textGenerationStream.ts#L43)

___

### seed

• `Optional` **seed**: `number`

Örnekleme etkinleştirildiyse örnekleme tohumu

#### Tanımlandığı yer[[seed.defined-in]]

[inference/src/tasks/nlp/textGenerationStream.ts:41](https://github.com/huggingface/huggingface.js/blob/main/packages/inference/src/tasks/nlp/textGenerationStream.ts#L41)

___

### tokens

• **tokenler**: [`TextGenerationStreamToken`](TextGenerationStreamToken)[]

Oluşturulan jetonlar

#### Tanımlandığı yer[[tokens.defined-in]]

[inference/src/tasks/nlp/textGenerationStream.ts:45](https://github.com/huggingface/huggingface.js/blob/main/packages/inference/src/tasks/nlp/textGenerationStream.ts#L45)

