Transcription Settings
5 nodes
On this page 5
Make Transcription Settings
FunctionSettings for transcribing with Whisper.
Signature
TranscriptionSettings -> Transcription Settings
prompt: Text
fallback: Truth
seed: IntegerTranscriptionSettings TranscriptionSettings(
string prompt,
bool fallback = false,
int seed = 0)Parameters
| name | type | default | description |
|---|---|---|---|
| prompt | Text | — | Words to expect, such as names, jargon or a spelling, which Whisper reads before the recording; empty for none. |
| fallback | Truth | False | Decode 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. |
| seed | Integer | 0 | The seed fallback samples with; the same seed gives the same transcript. |
Returns
| result | Transcription Settings |
- Ships with
- Divooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Transcription Settings
- Package
- Machine Learning
Fallback
FunctionWhether temperature fallback is on.
Signature
Fallback(Transcription Settings: Transcription Settings) -> Truth
bool Fallback(TranscriptionSettings Transcription Settings)
Parameters
| name | type | default | description |
|---|---|---|---|
| Transcription Settings | Transcription Settings | — |
Returns
| result | Truth |
- Ships with
- Divooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Transcription Settings
- Package
- Machine Learning
Prompt
FunctionThe text Whisper reads before the recording, if any.
Signature
Prompt(Transcription Settings: Transcription Settings) -> Text
string Prompt(TranscriptionSettings Transcription Settings)
Parameters
| name | type | default | description |
|---|---|---|---|
| Transcription Settings | Transcription Settings | — |
Returns
| result | Text |
- Ships with
- Divooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Transcription Settings
- Package
- Machine Learning
Seed
FunctionThe seed fallback samples with.
Signature
Seed(Transcription Settings: Transcription Settings) -> Integer
int Seed(TranscriptionSettings Transcription Settings)
Parameters
| name | type | default | description |
|---|---|---|---|
| Transcription Settings | Transcription Settings | — |
Returns
| result | Integer |
- Ships with
- Divooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Transcription Settings
- Package
- Machine Learning
To String
FunctionOne line, as a preview shows it.
Signature
ToString(Transcription Settings: Transcription Settings) -> Text
string ToString(TranscriptionSettings Transcription Settings)
Parameters
| name | type | default | description |
|---|---|---|---|
| Transcription Settings | Transcription Settings | — |
Returns
| result | Text |
- Ships with
- Divooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Transcription Settings
- Package
- Machine Learning