元編程參考文件

轉寫設定

5 個節點

本頁內容 5

轉寫設定

函數

Settings for transcribing with Whisper.

簽名
轉寫設定 -> Transcription Settings
    提示詞: 文字
    溫度回退: 真否
    種子: 整數
TranscriptionSettings TranscriptionSettings(
    string prompt,
    bool fallback = false,
    int seed = 0)

參數

名稱型別預設值說明
提示詞文字—Words to expect, such as names, jargon or a spelling, which Whisper reads before the recording; empty for none.
溫度回退真否FalseDecode 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.
種子整數0The seed fallback samples with; the same seed gives the same transcript.

返回

轉寫設定Transcription Settings
所屬發行版
元編程(專業版)
可用的圖種類
資料流 函數 事件 例程 藍圖 狀態機狀態
宣告於
轉寫設定
所屬包
機器學習

溫度回退

函數

Whether temperature fallback is on.

簽名
溫度回退(Transcription Settings: Transcription Settings) -> 真否
bool Fallback(TranscriptionSettings Transcription Settings)

參數

名稱型別預設值說明
Transcription SettingsTranscription Settings—

返回

結果真否
所屬發行版
元編程(專業版)
可用的圖種類
資料流 函數 事件 例程 藍圖 狀態機狀態
宣告於
轉寫設定
所屬包
機器學習

提示詞

函數

The text Whisper reads before the recording, if any.

簽名
提示詞(Transcription Settings: Transcription Settings) -> 文字
string Prompt(TranscriptionSettings Transcription Settings)

參數

名稱型別預設值說明
Transcription SettingsTranscription Settings—

返回

結果文字
所屬發行版
元編程(專業版)
可用的圖種類
資料流 函數 事件 例程 藍圖 狀態機狀態
宣告於
轉寫設定
所屬包
機器學習

種子

函數

The seed fallback samples with.

簽名
種子(Transcription Settings: Transcription Settings) -> 整數
int Seed(TranscriptionSettings Transcription Settings)

參數

名稱型別預設值說明
Transcription SettingsTranscription Settings—

返回

結果整數
所屬發行版
元編程(專業版)
可用的圖種類
資料流 函數 事件 例程 藍圖 狀態機狀態
宣告於
轉寫設定
所屬包
機器學習

轉為文字

函數

One line, as a preview shows it.

簽名
轉為文字(Transcription Settings: Transcription Settings) -> 文字
string ToString(TranscriptionSettings Transcription Settings)

參數

名稱型別預設值說明
Transcription SettingsTranscription Settings—

返回

結果文字
所屬發行版
元編程(專業版)
可用的圖種類
事件 例程 狀態機狀態
宣告於
轉寫設定
所屬包
機器學習