MCPcopy Create free account

hub / github.com/ByteDance-Seed/m3-agent / functions

Functions136 in github.com/ByteDance-Seed/m3-agent

Functionconsumer
(data)
m3_agent/control.py:100
Functionfilter_duration_based
(audio)
mmagent/voice_processing.py:193
Functionfilter_score_based
(face)
mmagent/face_processing.py:144
Methodfind
(x)
mmagent/videograph.py:422
Functiongenerate_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
Functiongenerate_full_memories
(video_context)
mmagent/memory_processing.py:163
Functiongenerate_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
Functiongenerate_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
Functiongenerate_transcripts
Generate transcripts from audio files using Whisper model. Args: video (str): Video identifier video_config (dict): Video configu
mmagent/utils/general.py:162
Functiongenerate_video_context
( base64_video, base64_frames, faces_list, voices_list, faces_input="face_only" )
mmagent/memory_processing.py:63
Methodget_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
Functionget_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
Functionget_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
Functionget_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
Functionget_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
Functionget_video_prefix
(clip_id, video_path)
mmagent/utils/general.py:348
Functionhas_static_segment
( video_path, min_static_duration=5.0, diff_threshold=0.1, )
mmagent/utils/video_verification.py:27
Functionload_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
Functionload_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
Methodorder_character
ablation study, without equivalence
mmagent/videograph.py:515
Functionparallel_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
Functionplot_cosine_similarity_distribution
(embeddings1, embeddings2, save_path=None, max_num=2000)
mmagent/utils/general.py:288
Functionplot_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
Functionprint_messages
(messages)
mmagent/utils/chat_api.py:342
Functionprocess_image
(args)
mmagent/src/face_extraction.py:29
Functionprocess_memories
(video_graph, memory_contents, clip_id, type='episodic')
mmagent/memory_processing.py:202
Methodprune_memory_by_node_type
(self, node_type='semantic')
mmagent/videograph.py:918
Functionretrieve_all_episodic_memories
(video_graph)
mmagent/retrieve.py:408
Functionretrieve_all_semantic_memories
(video_graph)
mmagent/retrieve.py:418
Methodsample_a_route
(self, length=3)
mmagent/videograph.py:859
Functionsave_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
Functiontest
(frames, results)
mmagent/src/face_extraction.py:21
Methodunion
(x, y)
mmagent/videograph.py:432
Functionverify_qa
(question, gt, pred, model="gpt-4o-2024-11-20")
mmagent/retrieve.py:381
Functionverify_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
Methodvisualize
Visualize the video graph.
mmagent/videograph.py:831
← previous101–136 of 136, ranked by callers