2025-02-26 13:39:43 +02:00
|
|
|
use super::{SpeechToTextFlowType, SpeechToTextMessageTypeForNonThreadedOnlyTranscribedMessages};
|
2026-03-25 19:14:34 +01:00
|
|
|
use super::{
|
|
|
|
|
TextGenerationAutoUsage, TextGenerationPrefixRequirementType, TextGenerationSenderContextMode,
|
|
|
|
|
};
|
2024-09-12 13:44:06 +03:00
|
|
|
use super::{TextToSpeechBotMessagesFlowType, TextToSpeechUserMessagesFlowType};
|
|
|
|
|
|
|
|
|
|
pub const TEXT_GENERATION_PREFIX_REQUIREMENT_TYPE: TextGenerationPrefixRequirementType =
|
|
|
|
|
TextGenerationPrefixRequirementType::No;
|
|
|
|
|
|
|
|
|
|
pub const TEXT_GENERATION_AUTO_USAGE: TextGenerationAutoUsage = TextGenerationAutoUsage::Always;
|
|
|
|
|
|
2026-03-25 19:14:34 +01:00
|
|
|
pub const TEXT_GENERATION_SENDER_CONTEXT_MODE: TextGenerationSenderContextMode =
|
|
|
|
|
TextGenerationSenderContextMode::Disabled;
|
|
|
|
|
|
2024-09-12 13:44:06 +03:00
|
|
|
pub const TEXT_TO_SPEECH_BOT_MESSAGES_FLOW_TYPE: TextToSpeechBotMessagesFlowType =
|
|
|
|
|
TextToSpeechBotMessagesFlowType::OnDemandForVoice;
|
|
|
|
|
|
|
|
|
|
pub const TEXT_TO_SPEECH_USER_MESSAGES_FLOW_TYPE: TextToSpeechUserMessagesFlowType =
|
|
|
|
|
TextToSpeechUserMessagesFlowType::OnDemand;
|
|
|
|
|
|
|
|
|
|
pub const SPEECH_TO_TEXT_FLOW_TYPE: SpeechToTextFlowType =
|
|
|
|
|
SpeechToTextFlowType::TranscribeAndGenerateText;
|
2025-02-26 13:39:43 +02:00
|
|
|
|
|
|
|
|
// While notice messages may be less desirable with other bots in the room,
|
|
|
|
|
// it's probably a better default for most people who enable "transcribe-only" mode.
|
|
|
|
|
pub const SPEECH_TO_TEXT_ONLY_TRANSCRIBE_NON_THREADED_MESSAGE_TYPE:
|
|
|
|
|
SpeechToTextMessageTypeForNonThreadedOnlyTranscribedMessages =
|
|
|
|
|
SpeechToTextMessageTypeForNonThreadedOnlyTranscribedMessages::Text;
|