Divooka Reference

Transcription Settings

5 nodes

On this page 5

Make Transcription Settings

Function

Settings for transcribing with Whisper.

Signature
TranscriptionSettings -> Transcription Settings
    prompt: Text
    fallback: Truth
    seed: Integer
TranscriptionSettings TranscriptionSettings(
    string prompt,
    bool fallback = false,
    int seed = 0)

Parameters

nametypedefaultdescription
promptText—Words to expect, such as names, jargon or a spelling, which Whisper reads before the recording; empty for none.
fallbackTruthFalseDecode a 30-second window again, by sampling at temperatures from 0.2 to 1, when its text repeats itself or reads as unlikely, and skip a window that is silence: Whisper's safeguard, at the thresholds transformers suggests.
seedInteger0The seed fallback samples with; the same seed gives the same transcript.

Returns

resultTranscription Settings
Ships with
Divooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Transcription Settings
Package
Machine Learning

Fallback

Function

Whether temperature fallback is on.

Signature
Fallback(Transcription Settings: Transcription Settings) -> Truth
bool Fallback(TranscriptionSettings Transcription Settings)

Parameters

nametypedefaultdescription
Transcription SettingsTranscription Settings—

Returns

resultTruth
Ships with
Divooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Transcription Settings
Package
Machine Learning

Prompt

Function

The text Whisper reads before the recording, if any.

Signature
Prompt(Transcription Settings: Transcription Settings) -> Text
string Prompt(TranscriptionSettings Transcription Settings)

Parameters

nametypedefaultdescription
Transcription SettingsTranscription Settings—

Returns

resultText
Ships with
Divooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Transcription Settings
Package
Machine Learning

Seed

Function

The seed fallback samples with.

Signature
Seed(Transcription Settings: Transcription Settings) -> Integer
int Seed(TranscriptionSettings Transcription Settings)

Parameters

nametypedefaultdescription
Transcription SettingsTranscription Settings—

Returns

resultInteger
Ships with
Divooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Transcription Settings
Package
Machine Learning

To String

Function

One line, as a preview shows it.

Signature
ToString(Transcription Settings: Transcription Settings) -> Text
string ToString(TranscriptionSettings Transcription Settings)

Parameters

nametypedefaultdescription
Transcription SettingsTranscription Settings—

Returns

resultText
Ships with
Divooka Compute
Graph kinds
Events Routine StateMachineState
Declared by
Transcription Settings
Package
Machine Learning