元编程参考文档

转写设置

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—

返回

结果文本
所属发行版
元编程(专业版)
可用的图种类
事件 例程 状态机状态
声明于
转写设置
所属包
机器学习