Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Pipeline Config

VoicePipelineConfigdataclass

Configuration for aVoicePipeline.

Source code insrc/agents/voice/pipeline_config.py
@dataclassclassVoicePipelineConfig:"""Configuration for a `VoicePipeline`."""model_provider:VoiceModelProvider=field(default_factory=OpenAIVoiceModelProvider)"""The voice model provider to use for the pipeline. Defaults to OpenAI."""tracing_disabled:bool=False"""Whether to disable tracing of the pipeline. Defaults to `False`."""trace_include_sensitive_data:bool=True"""Whether to include sensitive data in traces. Defaults to `True`. This is specifically for the      voice pipeline, and not for anything that goes on inside your Workflow."""trace_include_sensitive_audio_data:bool=True"""Whether to include audio data in traces. Defaults to `True`."""workflow_name:str="Voice Agent""""The name of the workflow to use for tracing. Defaults to `Voice Agent`."""group_id:str=field(default_factory=gen_group_id)"""    A grouping identifier to use for tracing, to link multiple traces from the same conversation    or process. If not provided, we will create a random group ID.    """trace_metadata:dict[str,Any]|None=None"""    An optional dictionary of additional metadata to include with the trace.    """stt_settings:STTModelSettings=field(default_factory=STTModelSettings)"""The settings to use for the STT model."""tts_settings:TTSModelSettings=field(default_factory=TTSModelSettings)"""The settings to use for the TTS model."""

model_providerclass-attributeinstance-attribute

model_provider:VoiceModelProvider=field(default_factory=OpenAIVoiceModelProvider)

The voice model provider to use for the pipeline. Defaults to OpenAI.

tracing_disabledclass-attributeinstance-attribute

tracing_disabled:bool=False

Whether to disable tracing of the pipeline. Defaults toFalse.

trace_include_sensitive_dataclass-attributeinstance-attribute

trace_include_sensitive_data:bool=True

Whether to include sensitive data in traces. Defaults toTrue. This is specifically for thevoice pipeline, and not for anything that goes on inside your Workflow.

trace_include_sensitive_audio_dataclass-attributeinstance-attribute

trace_include_sensitive_audio_data:bool=True

Whether to include audio data in traces. Defaults toTrue.

workflow_nameclass-attributeinstance-attribute

workflow_name:str='Voice Agent'

The name of the workflow to use for tracing. Defaults toVoice Agent.

group_idclass-attributeinstance-attribute

group_id:str=field(default_factory=gen_group_id)

A grouping identifier to use for tracing, to link multiple traces from the same conversationor process. If not provided, we will create a random group ID.

trace_metadataclass-attributeinstance-attribute

trace_metadata:dict[str,Any]|None=None

An optional dictionary of additional metadata to include with the trace.

stt_settingsclass-attributeinstance-attribute

stt_settings:STTModelSettings=field(default_factory=STTModelSettings)

The settings to use for the STT model.

tts_settingsclass-attributeinstance-attribute

tts_settings:TTSModelSettings=field(default_factory=TTSModelSettings)

The settings to use for the TTS model.


[8]ページ先頭

©2009-2025 Movatter.jp