VoiceAgentComposeConfig constructor
VoiceAgentComposeConfig({
- String? sttModelPath,
- String? sttModelId,
- String? llmModelPath,
- String? llmModelId,
- String? ttsVoicePath,
- String? ttsVoiceId,
- VADConfiguration? vadConfig,
- LLMGenerationOptions? llmGeneration,
- String? instructions,
- TurnDetection? turnDetection,
- String? language,
Implementation
factory VoiceAgentComposeConfig({
$core.String? sttModelPath,
$core.String? sttModelId,
$core.String? llmModelPath,
$core.String? llmModelId,
$core.String? ttsVoicePath,
$core.String? ttsVoiceId,
$1.VADConfiguration? vadConfig,
$2.LLMGenerationOptions? llmGeneration,
$core.String? instructions,
TurnDetection? turnDetection,
$core.String? language,
}) {
final result = create();
if (sttModelPath != null) result.sttModelPath = sttModelPath;
if (sttModelId != null) result.sttModelId = sttModelId;
if (llmModelPath != null) result.llmModelPath = llmModelPath;
if (llmModelId != null) result.llmModelId = llmModelId;
if (ttsVoicePath != null) result.ttsVoicePath = ttsVoicePath;
if (ttsVoiceId != null) result.ttsVoiceId = ttsVoiceId;
if (vadConfig != null) result.vadConfig = vadConfig;
if (llmGeneration != null) result.llmGeneration = llmGeneration;
if (instructions != null) result.instructions = instructions;
if (turnDetection != null) result.turnDetection = turnDetection;
if (language != null) result.language = language;
return result;
}