Skip to main content

openai.createtranscriptionprops.temperature

Home > @runlightyear/openai > CreateTranscriptionProps > temperature

CreateTranscriptionProps.temperature property

Defaults to 0

The sampling temperature, between 0 and 1. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic. If set to 0, the model will use log probability to automatically increase the temperature until certain thresholds are hit.

Signature:
temperature?: number;