MCPcopy Index your code
hub / github.com/SkyworkAI/DeepResearchAgent / ContentPartAudio

Class ContentPartAudio

src/message/types.py:34–43  ·  view source on GitHub ↗

An audio content part.

Source from the content-addressed store, hash-verified

32
33
34class ContentPartAudio(BaseModel):
35 """An audio content part."""
36 audio_url: AudioURL = Field(description="The URL of the audio.")
37 type: Literal['audio_url'] = Field(default='audio_url', description="The type of the content part.") # type: ignore
38
39 def __str__(self) -> str:
40 return str(self.audio_url)
41
42 def __repr__(self) -> str:
43 return f'ContentPartAudio(audio_url={str(self.audio_url)})'
44
45class VideoURL(BaseModel):
46 """A video URL content part."""

Callers 4

transcribe_audioFunction · 0.90
_analyze_audio_fileMethod · 0.90
test_transcriptionFunction · 0.90
test_messageFunction · 0.90

Calls

no outgoing calls

Tested by 2

test_transcriptionFunction · 0.72
test_messageFunction · 0.72