# Arayüz: TextGenerationStreamDetails

## Özellikler

### en iyi\_diziler\_

• `Optional` **best\_of\_sequences**: [`TextGenerationStreamBestOfSequence`](TextGenerationStreamBestOfSequence)[]

`best_of` parametresi kullanılırken ek diziler

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

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

___

### finish\_reason

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

Üretim bitme nedeni

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

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

___

### oluşturulan\_tokenlar

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

Oluşturulan jeton sayısı

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

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

___

### prefill

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

Prompt jetonları

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

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

___

### seed

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

Örnekleme etkinleştirildiyse örnekleme tohumu

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

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

___

### tokens

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

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

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

