Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ByteDance-Seed/m3-agent
/ functions
Functions
136 in github.com/ByteDance-Seed/m3-agent
⨍
Functions
136
◇
Types & classes
3
Function
consumer
(data)
m3_agent/control.py:100
Function
filter_duration_based
(audio)
mmagent/voice_processing.py:193
Function
filter_score_based
(face)
mmagent/face_processing.py:144
Method
find
(x)
mmagent/videograph.py:422
Function
generate_audio_files
Extract audio from video files and save as MP3. Args: video (str): Video identifier video_config (dict): Video configuration sett
mmagent/utils/general.py:133
Function
generate_full_memories
(video_context)
mmagent/memory_processing.py:163
Function
generate_messages
Generate message list for chat completion from mixed inputs. Args: inputs (list): List of input dictionaries with 'type' and 'content' ke
mmagent/utils/chat_qwen.py:71
Function
generate_test_file_name
Generate a test file name from sample and task. Args: sample (str): Sample name or path task (str): Task identifier Returns:
mmagent/utils/general.py:115
Function
generate_transcripts
Generate transcripts from audio files using Whisper model. Args: video (str): Video identifier video_config (dict): Video configu
mmagent/utils/general.py:162
Function
generate_video_context
( base64_video, base64_frames, faces_list, voices_list, faces_input="face_only" )
mmagent/memory_processing.py:63
Method
get_entity_info
Get information about entities by retrieving connected episodic and semantic nodes. This function takes a list of anchor nodes and fi
mmagent/videograph.py:672
Function
get_files_by_title
Get video files matching the hashed title. Files can be .mp4, .mp3, .srt, .txt, depending on the base_path type. Args: base_path (str
mmagent/utils/general.py:94
Function
get_response
Get chat completion response from specified model. Args: model (str): Model identifier messages (list): List of message dictionar
mmagent/utils/chat_qwen.py:28
Function
get_video_names
Extract unique video names in a given directory. Args: path (str): Directory path to search Returns: list: List of unique vi
mmagent/utils/general.py:56
Function
get_video_paths
Generate video and segment paths from URL and task. Args: video_url (str): URL of the video task (str): Task identifier Retu
mmagent/utils/general.py:40
Function
get_video_prefix
(clip_id, video_path)
mmagent/utils/general.py:348
Function
has_static_segment
( video_path, min_static_duration=5.0, diff_threshold=0.1, )
mmagent/utils/video_verification.py:27
Function
load_subtitle
Load and parse subtitle file, extracting only dialogue lines. Args: subtitle_path (str): Path to .srt subtitle file Returns:
mmagent/utils/general.py:181
Function
load_transcript
Load transcript text from file. Args: transcript_path (str): Path to transcript file Returns: str: Content of transcript fil
mmagent/utils/general.py:196
Method
order_character
ablation study, without equivalence
mmagent/videograph.py:515
Function
parallel_get_response
Process multiple messages in parallel using ThreadPoolExecutor. Messages are processed in batches, with each batch completing before starting the
mmagent/utils/chat_api.py:88
Function
plot_cosine_similarity_distribution
(embeddings1, embeddings2, save_path=None, max_num=2000)
mmagent/utils/general.py:288
Function
plot_value_distribution
Plot the distribution of values in an array. Args: values (array-like): Array of numeric values to plot save_path (str, optional)
mmagent/utils/general.py:312
Function
print_messages
(messages)
mmagent/utils/chat_api.py:342
Function
process_image
(args)
mmagent/src/face_extraction.py:29
Function
process_memories
(video_graph, memory_contents, clip_id, type='episodic')
mmagent/memory_processing.py:202
Method
prune_memory_by_node_type
(self, node_type='semantic')
mmagent/videograph.py:918
Function
retrieve_all_episodic_memories
(video_graph)
mmagent/retrieve.py:408
Function
retrieve_all_semantic_memories
(video_graph)
mmagent/retrieve.py:418
Method
sample_a_route
(self, length=3)
mmagent/videograph.py:859
Function
save_video_graph
Save video graph to pickle file. Args: video_graph (VideoGraph): Video graph to save config (dict): Configuration settings
mmagent/utils/general.py:351
Function
test
(frames, results)
mmagent/src/face_extraction.py:21
Method
union
(x, y)
mmagent/videograph.py:432
Function
verify_qa
(question, gt, pred, model="gpt-4o-2024-11-20")
mmagent/retrieve.py:381
Function
verify_video_processing
Verify that a video was properly split into clips by checking the number of clips. Args: video_path (str): Path to original video fil
mmagent/utils/video_processing.py:104
Method
visualize
Visualize the video graph.
mmagent/videograph.py:831
← previous
101–136 of 136, ranked by callers